feat(tui): add Ctrl-arrow panel navigation
This commit is contained in:
1 parent
a2d337397c
commit
2d77d5b57d
4 files changed
+147
-1
No files matched your search
@@ -763,6 +763,19 @@ impl App {
|
||||
if text_input_active {
|
||||
return repeatable_text_key(key);
|
||||
}
|
||||
if key.modifiers.contains(KeyModifiers::CONTROL)
|
||||
&& matches!(key.code, KeyCode::Left | KeyCode::Right)
|
||||
&& matches!(
|
||||
self.focused,
|
||||
FocusedArea::Instances
|
||||
| FocusedArea::Content
|
||||
| FocusedArea::Account
|
||||
| FocusedArea::Settings
|
||||
| FocusedArea::Overview
|
||||
)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if vertical_navigation {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user