feat: with input

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-05-07 23:21:13 +02:00
parent 74f91a6201
commit 26c430e173
8 changed files with 557 additions and 29 deletions

View File

@@ -4,4 +4,20 @@ pub enum Msg {
MoveLeft,
MoveDown,
MoveUp,
OpenCreateItemDialog,
EnterInsertMode,
EnterCommandMode,
Edit(EditMsg),
}
#[derive(Debug)]
pub enum EditMsg {
Delete,
InsertNewLine,
InsertTab,
DeleteNext,
InsertChar(char),
MoveLeft,
MoveRight,
}