diff options
| author | lukeflo | 2025-07-05 22:29:18 +0200 |
|---|---|---|
| committer | lukeflo | 2025-07-05 22:29:18 +0200 |
| commit | 2990df627ff54f01bafdcab767c0a73198e9e6cc (patch) | |
| tree | 8bdb05d9d4502bff9c3240958b8915df6026acda /src/tui/commands.rs | |
| parent | 80c04702012cb1a43711d559e8ffbe9e250b1a57 (diff) | |
| download | bibiman-2990df627ff54f01bafdcab767c0a73198e9e6cc.tar.gz bibiman-2990df627ff54f01bafdcab767c0a73198e9e6cc.zip | |
create note function impl
Diffstat (limited to 'src/tui/commands.rs')
| -rw-r--r-- | src/tui/commands.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tui/commands.rs b/src/tui/commands.rs index 47d2802..89fcf44 100644 --- a/src/tui/commands.rs +++ b/src/tui/commands.rs @@ -151,6 +151,8 @@ impl From<KeyEvent> for CmdAction { // Open linked ressource KeyCode::Char('o') => Self::Open, // KeyCode::Char('u') => Self::Open(OpenRessource::WebLink), + // Create note file + KeyCode::Char('n') => Self::CreateNote, // Edit currently selected entry KeyCode::Char('e') => Self::EditFile, // Yank selected item/value |
