about summary refs log tree commit diff stats
path: root/src/kilo.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-07 10:29:29 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-07 10:29:29 -0800
commitef9c42084d42ab3c2a7fff3b0b9685cd8c61f171 (patch)
treea9b64d45757bd74a06dd336c5a3e49f515c78e88 /src/kilo.c
parentd5eb2fb7529ff23117e5ac7fdcf63c1a20d33077 (diff)
downloadteliva-ef9c42084d42ab3c2a7fff3b0b9685cd8c61f171.tar.gz
switch menu bars to reverse video
Diffstat (limited to 'src/kilo.c')
-rw-r--r--src/kilo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kilo.c b/src/kilo.c
index 4016d75..e07c3f2 100644
--- a/src/kilo.c
+++ b/src/kilo.c
@@ -925,13 +925,13 @@ void editorRefreshScreen(void) {
 
     /* Create a two rows status. First row: */
     abAppend(&ab,"\x1b[0K",4);
-    abAppend(&ab,"  \x1b[7m ^e \x1b[0m run ",19);
-    int len =     2  +     4  +       5;
+    abAppend(&ab,"\x1b[7m  \x1b[0m ^e \x1b[7m run ",23);
+    int len =            2  +     4  +       5;
     if (Previous_error != NULL) {
-      abAppend(&ab,"\x1b[7m ^c \x1b[0m\x1b[1m abort \x1b[0m",27);
-      len +=               4  +       7;
+      abAppend(&ab,"\x1b[0m ^c \x1b[7m\x1b[0m\x1b[1m abort ",27);
+      len +=               4  +                     7;
     }
-    abAppend(&ab,"\x1b[7m ^s \x1b[0m search ",20);
+    abAppend(&ab,"\x1b[0m ^s \x1b[7m search ",20);
     len +=               4  +       8;
     char rstatus[80];
     int rlen = snprintf(rstatus, sizeof(rstatus),