Kaynağa Gözat

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.
Christoph Lohmann 8 yıl önce
ebeveyn
işleme
c4f245eccd
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6 0
      config.def.h

+ 6 - 0
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;