diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-08-04 15:49:07 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-08-04 15:49:07 +0000 |
commit | 18189138fd023a0be97b162a8f68f9db0b4553eb (patch) | |
tree | 534fa4d9fb8aeaab05c5a5d03b49c5c77001a46e /misc/deco | |
parent | Missed a guile.6 -> guile.9 update (diff) |
Set default color pair to its original value on command execution and exit.
Notes
Notes:
svn path=/head/; revision=31317
Diffstat (limited to 'misc/deco')
-rw-r--r-- | misc/deco/files/patch-ae | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/misc/deco/files/patch-ae b/misc/deco/files/patch-ae new file mode 100644 index 000000000000..d6efc7afa293 --- /dev/null +++ b/misc/deco/files/patch-ae @@ -0,0 +1,36 @@ +Index: scr.c +@@ -167,7 +167,7 @@ + + static char *CL, *CM, *SE, *SO, *TE, *TI, *VE, *VS, + *AL, *DL, *IS, *IF, *FS, *MD, *MH, *ME, *MR, +- *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB; ++ *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB, *OP; + static NF, NB; + static char MS, C2; + +@@ -231,6 +231,7 @@ + { "Cs", CAPSTR, 0, 0, 0, &Cs, }, + { "Ce", CAPSTR, 0, 0, 0, &Ce, }, + { "Ct", CAPSTR, 0, 0, 0, &Ct, }, ++ { "op", CAPSTR, 0, 0, 0, &OP, }, + { { 0, 0, }, 0, 0, 0, 0, 0, }, + }; + +@@ -413,6 +414,8 @@ + tputs (TE); + if (KE) + tputs (KE); ++ if (OP) ++ tputs (OP); + VFlush (); + TtyReset (); + } +@@ -425,6 +428,8 @@ + tputs (VE); + if (KE) + tputs (KE); ++ if (OP) ++ tputs (OP); + VFlush (); + TtyReset (); + } |