pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2251f64
)
Add some hint to have the pseudo terminal in the right mode.
author
Christoph Lohmann
<20h@r-36.net>
Wed, 20 Jul 2016 11:52:31 +0000
(13:52 +0200)
committer
Christoph 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
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
d2c547c
..
e2bbe43
100644
(file)
--- 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;