]> git.armaanb.net Git - st.git/commitdiff
Add some hint to have the pseudo terminal in the right mode.
authorChristoph Lohmann <20h@r-36.net>
Wed, 20 Jul 2016 11:52:31 +0000 (13:52 +0200)
committerChristoph Lohmann <20h@r-36.net>
Wed, 20 Jul 2016 11:52:31 +0000 (13:52 +0200)
If you don't make sure that the terminal does not expand tabs to spaces, of
course such a setting won't work.

config.def.h

index d2c547c3105c877f9cac8b8eb6b8c510ae5f41fc..e2bbe43ede4de420c3fe65286072217e6c917670 100644 (file)
@@ -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;