openbsd-ports/sysutils/vifm/patches/patch-src_ui_c

14 lines
366 B
Plaintext
Raw Normal View History

$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);