![如何更改无吸简单终端中的选项卡大小?](https://linux22.com/image/183987/%E5%A6%82%E4%BD%95%E6%9B%B4%E6%94%B9%E6%97%A0%E5%90%B8%E7%AE%80%E5%8D%95%E7%BB%88%E7%AB%AF%E4%B8%AD%E7%9A%84%E9%80%89%E9%A1%B9%E5%8D%A1%E5%A4%A7%E5%B0%8F%EF%BC%9F.png)
我试图弄清楚如何将我的 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
.
但选项卡宽度没有改变。有任何想法吗?