From 2b2b102e2e2c0080c7c24a18261267e9ab609579 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 2 Aug 2017 01:34:16 -0400 Subject: Preserve color on replace --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.c') 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; } -- cgit 1.4.1