mirror of
https://github.com/jarun/nnn.git
synced 2025-04-02 11:36:33 +00:00
netbsd-curses: fix broken statusbar issue
See https://github.com/sabotage-linux/netbsd-curses/issues/46
This commit is contained in:
parent
bca5763cf7
commit
0427f70c4e
1 changed files with 1 additions and 2 deletions
|
@ -5783,8 +5783,7 @@ static void draw_line(char *path, int ncols)
|
|||
|
||||
static void redraw(char *path)
|
||||
{
|
||||
xlines = LINES;
|
||||
xcols = COLS;
|
||||
getmaxyx(stdscr, xlines, xcols);
|
||||
|
||||
int ncols = (xcols <= PATH_MAX) ? xcols : PATH_MAX;
|
||||
int onscreen = xlines - 4;
|
||||
|
|
Loading…
Add table
Reference in a new issue