aboutsummaryrefslogtreecommitdiff
path: root/src/tui
diff options
context:
space:
mode:
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)]