From 4f8696657a313b65fef3dc52dfe470dcb7a1874e Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Tue, 18 Jun 2024 11:46:05 +0200 Subject: [PATCH] lib: Change default section switch keys --- src/ui/widget/container.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/widget/container.rs b/src/ui/widget/container.rs index a911ccaf..19dc9681 100644 --- a/src/ui/widget/container.rs +++ b/src/ui/widget/container.rs @@ -682,10 +682,10 @@ where if props.handle_keys { match key { - Key::Left => { + Key::BackTab => { self.prev(); } - Key::Right => { + Key::Char('\t') => { self.next(self.sections.len()); } _ => {}