mirror of
https://github.com/domcyrus/rustnet.git
synced 2026-01-04 04:49:53 -06:00
fix: handle SecureCRT backspace issue
This commit is contained in:
@@ -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' => {
|
||||
|
||||
Reference in New Issue
Block a user