aboutsummaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 21:03:25 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 21:03:25 +0100
commiteb51ff93c5c54dfb82e607b4843f9160523076b7 (patch)
treef6db2c0e026508cb78128c994c02f216639f731d /interface.h
parent8c27f0437054497360a8358c5e3fb516f1eaa996 (diff)
downloadsciteco-eb51ff93c5c54dfb82e607b4843f9160523076b7.tar.gz
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
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h3
1 files changed, 2 insertions, 1 deletions
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,