aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-curses.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-09-25 12:01:08 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-09-25 12:52:27 +0200
commit21e0d302fc849d9f8827b9f2cb93472f7c30fafe (patch)
tree310197da11284732293c7166a54142a220c1a29b /src/interface-curses.h
parentb710f6a01db827a6a6ea9f74894a6d3dec330734 (diff)
downloadsciteco-21e0d302fc849d9f8827b9f2cb93472f7c30fafe.tar.gz
curses UI: fixed truncation of non-filename popup entries
Diffstat (limited to 'src/interface-curses.h')
-rw-r--r--src/interface-curses.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interface-curses.h b/src/interface-curses.h
index ed228ee..6116cae 100644
--- a/src/interface-curses.h
+++ b/src/interface-curses.h
@@ -118,6 +118,12 @@ typedef class InterfaceCurses : public Interface<InterfaceCurses, ViewCurses> {
WINDOW *window; /**! window showing part of pad */
WINDOW *pad; /**! full-height entry list */
+ struct Entry {
+ PopupEntryType type;
+ bool highlight;
+ gchar name[];
+ };
+
GSList *list; /**! list of popup entries */
gint longest; /**! size of longest entry */
gint length; /**! total number of popup entries */