From c54e6738b911e5de86dfe94b9166df86751aacb1 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 5 Oct 2015 01:25:23 +0100 Subject: Use DisplayLine for menu choices --- src/input_handler.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.hh') diff --git a/src/input_handler.hh b/src/input_handler.hh index 4b4e325f..025f8979 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -62,7 +62,7 @@ public: // abort or validation with corresponding MenuEvent value // returns to normal mode after validation if callback does // not change the mode itself - void menu(ArrayView choices, MenuCallback callback); + void menu(ConstArrayView choices, MenuCallback callback); // execute callback on next keypress and returns to normal mode // if callback does not change the mode itself -- cgit v1.2.3