From 4a1c10205ff009afa89ce22ae84862620bb9babc Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Mon, 30 Dec 2024 22:02:33 -0300 Subject: fixt Add missing methods to Menu::Stack --- lib/menu.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/menu.rb b/lib/menu.rb index 4ed44e9..801b5a7 100644 --- a/lib/menu.rb +++ b/lib/menu.rb @@ -30,6 +30,9 @@ module CandyGear def draw() = @stack.each {_1.draw();} def size() = @stack.size; + + def pred_opt() = self.current_menu.pred_opt(); + def next_opt() = self.current_menu.next_opt(); end class BorderlessView -- cgit v1.2.3