aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2016-07-20 13:52:31 +0200
committerChristoph Lohmann <20h@r-36.net>2016-07-20 13:52:31 +0200
commitc4f245eccd649b258c52f1405452df05180f7263 (patch)
tree08ac18749370584d46c90f6f715c58fffc642acc /config.def.h
parent2251f6465ae48aaa012fd686d6dcc4d3f41f77fe (diff)
downloadst-c4f245eccd649b258c52f1405452df05180f7263.tar.gz
st-c4f245eccd649b258c52f1405452df05180f7263.tar.bz2
st-c4f245eccd649b258c52f1405452df05180f7263.zip
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.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 6 insertions, 0 deletions
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;