diff options
| author | Christoph Lohmann <20h@r-36.net> | 2016-07-20 13:52:31 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2016-07-20 13:52:31 +0200 |
| commit | c4f245eccd649b258c52f1405452df05180f7263 (patch) | |
| tree | 08ac18749370584d46c90f6f715c58fffc642acc | |
| parent | 2251f6465ae48aaa012fd686d6dcc4d3f41f77fe (diff) | |
| download | st-c4f245eccd649b258c52f1405452df05180f7263.tar.gz 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.
| -rw-r--r-- | config.def.h | 6 |
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"; | |||
| 73 | * you use this st version. | 73 | * you use this st version. |
| 74 | * | 74 | * |
| 75 | * it#$tabspaces, | 75 | * it#$tabspaces, |
| 76 | * | ||
| 77 | * Secondly make sure your terminal is not expanding tabs. When running `stty | ||
| 78 | * -a` »tab0« should appear. You can tell the terminal to not expand tabs by | ||
| 79 | * running following command: | ||
| 80 | * | ||
| 81 | * stty tabs | ||
| 76 | */ | 82 | */ |
| 77 | static unsigned int tabspaces = 8; | 83 | static unsigned int tabspaces = 8; |
| 78 | 84 | ||
