about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-08-02 01:34:16 -0400
committerJune McEnroe <june@causal.agency>2017-08-02 01:34:33 -0400
commit00cb0f8ca430ef97b380f35e11fbb50d3112e8c9 (patch)
tree588b8a138ea7fa98de4dc69ba08a1c256cc3a2f2
parentSplit tile access and modify (diff)
downloadtorus-00cb0f8ca430ef97b380f35e11fbb50d3112e8c9.tar.gz
torus-00cb0f8ca430ef97b380f35e11fbb50d3112e8c9.zip
Preserve color on replace
-rwxr-xr-xclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 74e3a6f..464568b 100755
--- a/client.c
+++ b/client.c
@@ -143,7 +143,7 @@ static void readInput(void) {
     }
 
     if (mode == MODE_REPLACE) {
-        if (isprint(c)) clientPut(inputColor, c);
+        if (isprint(c)) clientPut(CH_COLOR(inch()), c);
         mode = MODE_NORMAL;
         return;
     }
4&follow=1'>Change default ENV from cashrc to env.shJune McEnroe 2019-01-13Use colours in cash promptsJune McEnroe 2019-01-12Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe