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;
     }
e='2021-09-21 15:02:46 -0400'>2021-09-21Rewrite pngo, add explicit optionsJune McEnroe 2021-09-16Fix /* **/ comment matchingJune McEnroe 2021-09-15Remove typer, add downgrade to READMEJune McEnroe 2021-09-15Set bot mode on downgradeJune McEnroe 2021-09-15Enter capsicum in downgradeJune McEnroe 2021-09-15Factor out common parts of downgrade messagesJune McEnroe 2021-09-14Add downgrade IRC botJune McEnroe 2021-09-14Sort by title if authors matchJune McEnroe 2021-09-13Swap-remove tags as they're foundJune McEnroe 2021-09-12Replace htagml regex with strncmpJune McEnroe 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe