summary refs log tree commit diff homepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
     }