aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-09-12 00:39:35 +1000
committerGravatar axel <axel@liljencrantz.se>2006-09-12 00:39:35 +1000
commit02eb856e448cdf2103e6e1e1a48b39a04c5c8559 (patch)
tree7aca4d14456b5ec41c3735cee1107b3620037f76 /reader.c
parentc550f4eb2174d81d2ad0d93f8a1531f903ecd532 (diff)
Don't syntax highlight the character under the cursor, since that may hide the cursor. Thanks to Matin Bähr and Philip Ganchev for the reports
darcs-hash:20060911143935-ac50b-e1502365aeba0f4d97976f688329cbfc4b9871a4.gz
Diffstat (limited to 'reader.c')
-rw-r--r--reader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/reader.c b/reader.c
index 5d44bf1b..aba306d3 100644
--- a/reader.c
+++ b/reader.c
@@ -2324,6 +2324,9 @@ static void reader_super_highlight_me_plenty( wchar_t * buff, int *color, int po
}
}
}
+
+ color[pos] = 0;
+
}