about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-07-15 17:41:33 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-07-15 17:41:33 +0000
commit9ba458948aa7c7e8eff001b2c0faf3cbb55b7840 (patch)
tree98b86e07deb0d983daa74a3d46a8dc9df677525a
parent1522c0514560f9a41897698aa3b35f7ea410b717 (diff)
downloadzsh-9ba458948aa7c7e8eff001b2c0faf3cbb55b7840.tar.gz
zsh-9ba458948aa7c7e8eff001b2c0faf3cbb55b7840.tar.xz
zsh-9ba458948aa7c7e8eff001b2c0faf3cbb55b7840.zip
Added the PROMPTSP option plus 3 new termcap defines
(TCSAVECURSOR, TCRESTRCURSOR, and TCBACKSPACE).
-rw-r--r--Src/zsh.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 3dacf637f..2c635d02b 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1594,6 +1594,7 @@ enum {
     PROMPTBANG,
     PROMPTCR,
     PROMPTPERCENT,
+    PROMPTSP,
     PROMPTSUBST,
     PUSHDIGNOREDUPS,
     PUSHDMINUS,
@@ -1716,7 +1717,10 @@ struct ttyinfo {
 #define TCDOWNCURSOR   26
 #define TCLEFTCURSOR   27
 #define TCRIGHTCURSOR  28
-#define TC_COUNT       29
+#define TCSAVECURSOR   29
+#define TCRESTRCURSOR  30
+#define TCBACKSPACE    31
+#define TC_COUNT       32
 
 #define tccan(X) (tclen[X])