From eb51ff93c5c54dfb82e607b4843f9160523076b7 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 15 Nov 2012 21:03:25 +0100 Subject: NCurses interface: support terminal resizing * currently, the message line is not remembered and reset on termresize * any open popup window will be drawn over by the other windows --- interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interface.h') diff --git a/interface.h b/interface.h index f84649a..d40506a 100644 --- a/interface.h +++ b/interface.h @@ -44,7 +44,8 @@ public: virtual sptr_t ssm(unsigned int iMessage, uptr_t wParam = 0, sptr_t lParam = 0) = 0; - virtual void cmdline_update(const gchar *cmdline = "") = 0; + /* NULL means to redraw the current cmdline if necessary */ + virtual void cmdline_update(const gchar *cmdline = NULL) = 0; enum PopupFileType { POPUP_FILE, -- cgit v1.2.3