Skip to content

Commit

Permalink
fixup code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ynqa committed Oct 9, 2023
1 parent 1ac2f05 commit 5d5be60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/editor/item_picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ impl Editor for ItemPicker {
///
/// | Key | Description
/// | :-- | :--
/// | <kbd> Enter </kbd> | Leave from event-loop with exitcode=0
/// | <kbd> CTRL + C </kbd> | Leave from event-loop with [io::ErrorKind::Interrupted](https://doc.rust-lang.org/stable/std/io/enum.ErrorKind.html#variant.Interrupted)
/// | <kbd> Enter </kbd> | Exit the event-loop
/// | <kbd> CTRL + C </kbd> | Exit the event-loop with an error
/// | <kbd> ↑ </kbd> | Move backward
/// | <kbd> ↓ </kbd> | Move forward
/// | <kbd> CTRL + A </kbd> | Move to head of selector
/// | <kbd> CTRL + E </kbd> | Move to tail of selector
/// | <kbd> CTRL + A </kbd> | Move to the beginning of the selector
/// | <kbd> CTRL + E </kbd> | Move to the end of the selector
fn handle_event(&mut self, event: &Event) {
match event {
// Move cursor.
Expand Down

0 comments on commit 5d5be60

Please sign in to comment.