vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit ee66fad8c7099d40eaba9b8cbc81d138b21691f3
parent 990a85e48e872e2c421d38961d3033024893c44e
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 20 Dec 2016 22:04:51 +0100

ui: increase maximum info message length

Diffstat:
Mui-curses.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-curses.c b/ui-curses.c @@ -79,7 +79,7 @@ typedef struct { Vis *vis; /* editor instance to which this ui belongs */ UiCursesWin *windows; /* all windows managed by this ui */ UiCursesWin *selwin; /* the currently selected layout */ - char info[255]; /* info message displayed at the bottom of the screen */ + char info[512]; /* info message displayed at the bottom of the screen */ int width, height; /* terminal dimensions available for all windows */ enum UiLayout layout; /* whether windows are displayed horizontally or vertically */ TermKey *termkey; /* libtermkey instance to handle keyboard input (stdin or /dev/tty) */