summaryrefslogtreecommitdiff
path: root/src/client.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/client.hh
parent78d4675c24672634478decb39734e905fdc11fe5 (diff)
More useable menu implementation on ncurses
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh
index 84adab4f..8b2d3444 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -23,6 +23,7 @@ public:
virtual String prompt(const String& prompt, const Context& context,
Completer completer = complete_nothing) = 0;
virtual Key get_key() = 0;
+ virtual int menu(const memoryview<String>& choices) = 0;
};
struct prompt_aborted {};