aboutsummaryrefslogtreecommitdiff
path: root/lib/Daffm/Types.hs
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-11-10 23:28:05 +0530
committerAkshay Nair <phenax5@gmail.com>2025-11-10 23:28:05 +0530
commit0c3b673e1614677a20f0b0b22af8bd017228b5e0 (patch)
tree95200787fc13997d0b50e9d9e20d8d8beb2537df /lib/Daffm/Types.hs
parenta16933476187a349d619ab29f73dbcae81c8cb24 (diff)
downloaddaffm-0c3b673e1614677a20f0b0b22af8bd017228b5e0.tar.gz
daffm-0c3b673e1614677a20f0b0b22af8bd017228b5e0.zip
Add basic selection-add/remove commands
Diffstat (limited to 'lib/Daffm/Types.hs')
-rw-r--r--lib/Daffm/Types.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Daffm/Types.hs b/lib/Daffm/Types.hs
index a26b0ef..0b22816 100644
--- a/lib/Daffm/Types.hs
+++ b/lib/Daffm/Types.hs
@@ -74,11 +74,13 @@ data Command
| CmdSetCmdline Text.Text
| CmdEnterCmdline
| CmdLeaveCmdline
- | CmdOpenSelection
+ | CmdSelectionOpen
| CmdChangeDir Text.Text
| CmdReload
- | CmdToggleSelection
- | CmdClearSelection
+ | CmdSelectionToggle
+ | CmdSelectionAdd Text.Text
+ | CmdSelectionRemove Text.Text
+ | CmdSelectionClear
| CmdGoBack
| CmdChain [Command]
| CmdSearch Text.Text
@@ -117,4 +119,3 @@ data Args = Args
argsHelp :: Bool
}
deriving (Show)
-