From: Christoph Lohmann <20h@r-36.net> Date: Wed, 20 Jul 2016 11:52:31 +0000 (+0200) Subject: Add some hint to have the pseudo terminal in the right mode. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=c4f245eccd649b258c52f1405452df05180f7263;p=st.git Add some hint to have the pseudo terminal in the right mode. If you don't make sure that the terminal does not expand tabs to spaces, of course such a setting won't work. --- diff --git a/config.def.h b/config.def.h index d2c547c..e2bbe43 100644 --- a/config.def.h +++ b/config.def.h @@ -73,6 +73,12 @@ static char termname[] = "st-256color"; * you use this st version. * * it#$tabspaces, + * + * Secondly make sure your terminal 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 */ static unsigned int tabspaces = 8;