diff options
author | June McEnroe <june@causal.agency> | 2017-08-02 01:34:16 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-08-02 01:34:33 -0400 |
commit | 00cb0f8ca430ef97b380f35e11fbb50d3112e8c9 (patch) | |
tree | 588b8a138ea7fa98de4dc69ba08a1c256cc3a2f2 | |
parent | Split tile access and modify (diff) | |
download | torus-00cb0f8ca430ef97b380f35e11fbb50d3112e8c9.tar.gz torus-00cb0f8ca430ef97b380f35e11fbb50d3112e8c9.zip |
Preserve color on replace
Diffstat (limited to '')
-rwxr-xr-x | client.c | 2 |
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; } |