fix: handle SecureCRT backspace issue

This commit is contained in:
Marco Cadetg
2025-09-11 08:56:29 +02:00
parent 9ead15f3ed
commit b4beaf01ef

View File

@@ -248,6 +248,12 @@ fn run_ui_loop<B: ratatui::prelude::Backend>(
ui_state.move_selection_down(&nav_connections);
}
KeyCode::Char(c) => {
// Handle Ctrl+H as backspace for SecureCRT compatibility
if c == 'h' && key.modifiers.contains(KeyModifiers::CONTROL) {
ui_state.filter_backspace();
return Ok(());
}
// Handle navigation keys (j/k) and text input
match c {
'k' => {