summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-08-02 01:34:16 -0400
committerJune McEnroe <programble@gmail.com>2017-08-02 01:34:33 -0400
commit2b2b102e2e2c0080c7c24a18261267e9ab609579 (patch)
treeef5f37ecaa3b99383d6c1365530132261f8b419c
parentSplit tile access and modify (diff)
downloadtorus-2b2b102e2e2c0080c7c24a18261267e9ab609579.tar.gz
torus-2b2b102e2e2c0080c7c24a18261267e9ab609579.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;
     }
ref='/pounce/commit/client.c?h=1.4&id=2f39eabb2ddc945217a92247724e65f4eb485656&follow=1'>Define macro for bit flag enumsJune McEnroe 2019-11-08Check that password is hashedJune McEnroe 2019-11-08Avoid calling getopt_long again after it returns -1June McEnroe 2019-11-08Only change AWAY status for registered clientsJune McEnroe 2019-11-07Just write the example normallyJune McEnroe 2019-11-07Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe 2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe