aboutsummaryrefslogtreecommitdiff
path: root/src/tui
diff options
context:
space:
mode:
authorlukeflo2025-07-05 20:21:52 +0200
committerlukeflo2025-07-05 20:21:52 +0200
commit80c04702012cb1a43711d559e8ffbe9e250b1a57 (patch)
tree7068c6915d4ee6c84f38f65798d0aeb276941d5b /src/tui
parent52079ee745831b06a6c4060f38ee49e42d689dcd (diff)
downloadbibiman-80c04702012cb1a43711d559e8ffbe9e250b1a57.tar.gz
bibiman-80c04702012cb1a43711d559e8ffbe9e250b1a57.zip
first steps for create new note
Diffstat (limited to 'src/tui')
-rw-r--r--src/tui/commands.rs2
-rw-r--r--src/tui/popup.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tui/commands.rs b/src/tui/commands.rs
index 08ee677..47d2802 100644
--- a/src/tui/commands.rs
+++ b/src/tui/commands.rs
@@ -73,6 +73,8 @@ pub enum CmdAction {
ShowHelp,
// Add new entry
AddEntry,
+ // Create note
+ CreateNote,
// Do nothing.
Nothing,
}
diff --git a/src/tui/popup.rs b/src/tui/popup.rs
index 4aaa2c1..46e4792 100644
--- a/src/tui/popup.rs
+++ b/src/tui/popup.rs
@@ -38,6 +38,8 @@ pub enum PopupKind {
AddEntry,
/// select an item of the current entry to yank to clipboard
YankItem,
+ /// Create a new note, select extension
+ CreateNote,
}
#[derive(Debug)]