37df81f402
Vifm is a ncurses based file manager with vi like keybindings. If you use vi, vifm gives you complete keyboard control over your files without having to learn a new set of commands. Ported two years ago by myself, re-submitted by Aaron Stellman. Most patches from Tobias Ulmer, plus one to fix an ugly out-of-bound access by me.
14 lines
366 B
Plaintext
14 lines
366 B
Plaintext
$OpenBSD: patch-src_ui_c,v 1.1.1.1 2009/08/09 21:49:33 landry Exp $
|
|
--- src/ui.c.orig Fri Aug 7 12:01:16 2009
|
|
+++ src/ui.c Fri Aug 7 12:01:26 2009
|
|
@@ -291,8 +291,7 @@ redraw_window(void)
|
|
|
|
ioctl(0, TIOCGWINSZ, &ws);
|
|
|
|
- // changed for pdcurses
|
|
- resize_term(ws.ws_row, ws.ws_col);
|
|
+ resizeterm(ws.ws_row, ws.ws_col);
|
|
|
|
getmaxyx(stdscr, screen_y, screen_x);
|
|
|