如何更改无吸简单终端中的选项卡大小?

如何更改无吸简单终端中的选项卡大小?

我试图弄清楚如何将我的 st 版本的制表符大小更改为宽度为 4 个空格(仍然使用制表符),我执行了以下操作,但它不起作用:

我将tabspaces变量从 8 更改为 4,并将it#8值更改为圣信息it#4,如文件中的代码config.def.h所示:

/*
 * spaces per tab
 *
 * When you are changing this value, don't forget to adapt the »it« value in
 * the st.info and appropriately install the st.info in the environment where
 * you use this st version.
 *
 *  it#$tabspaces,
 *
 * Secondly make sure your kernel is not expanding tabs. When running `stty
 * -a` »tab0« should appear. You can tell the terminal to not expand tabs by
 *  running following command:
 *
 *  stty tabs
 */
unsigned int tabspaces = 4;

然后我删除了配置文件文件,然后做了一个make clean install.

但选项卡宽度没有改变。有任何想法吗?

相关内容