Skip to content

Commit ac74eb7

Browse files
committed
fix: Restore 'e' key handler to open encoding dialog in Hex view
1 parent 5817a1f commit ac74eb7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/hex/events.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,11 @@ pub fn hex_mode_events(app: &mut App, key: KeyEvent) -> Result<bool> {
354354
}
355355
}
356356
}
357+
// change encoding
358+
KeyCode::Char('e') => {
359+
app.state = UIState::DialogEncoding;
360+
app.dialog_renderer = Some(crate::text::dialog_encoding::dialog_encoding_draw);
361+
}
357362
_ => {}
358363
}
359364
Ok(false)

0 commit comments

Comments
 (0)