summaryrefslogtreecommitdiff
path: root/src/ncurses.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-08-30 21:14:28 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-08-30 21:14:28 +0200
commit1ca502d23de987de52eaf4ea698b6bd006a3e5bc (patch)
tree9147e238cecedf3fa5caf7d25d807fe15e1183a1 /src/ncurses.hh
parent78d4675c24672634478decb39734e905fdc11fe5 (diff)
More useable menu implementation on ncurses
Diffstat (limited to 'src/ncurses.hh')
-rw-r--r--src/ncurses.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ncurses.hh b/src/ncurses.hh
index 1a959ed0..36a2de81 100644
--- a/src/ncurses.hh
+++ b/src/ncurses.hh
@@ -20,6 +20,8 @@ public:
String prompt(const String& prompt, const Context& context, Completer completer);
Key get_key();
+
+ int menu(const memoryview<String>& choices);
};
}