summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 22:59:13 +0300
committerPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 22:59:13 +0300
commitc1b3b08915d56390bb665affcbfbf33ac0fd2274 (patch)
treec8ca747b2b568ccda344ae01986c351c72d870bd
parent98302ed5e062bb1b034faf7b3ae22179e200c951 (diff)
Document ESC hotkey
-rw-r--r--README.md11
-rw-r--r--internal/ui/table.go1
2 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..94c9878
--- /dev/null
+++ b/README.md
@@ -0,0 +1,11 @@
+# tasksamurai
+
+tasksamurai is a terminal interface for Taskwarrior built with Bubble Tea.
+
+## Hotkeys
+
+- `h`: show the help screen
+- `esc`: close the help screen or cancel an active search
+- `q`: quit the application
+
+See the help screen for additional shortcuts.
diff --git a/internal/ui/table.go b/internal/ui/table.go
index c98c3f0..a1c2961 100644
--- a/internal/ui/table.go
+++ b/internal/ui/table.go
@@ -442,6 +442,7 @@ func (m Model) View() string {
"A: replace annotations",
"p: set priority",
"/, ?: search",
+ "esc: close help/search",
"q: quit",
"h: help", // show help toggle line
)