You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **Bugfix (TUI):** Fix spacebar handling in the TUI editor and filter. Some terminals emit `tea.KeySpace` instead of `tea.KeyRunes` for the spacebar; the TUI now treats `KeySpace` as a typed space so spaces are inserted into editor commands and list filters consistently. Added headless tests `TestEditorTypingSpaceKeyInCommands` and `TestFilterModeSpaceKeyAppendsSpace` to prevent regressions.
- **Quality:** Ran `gocyclo` (no functions with complexity > 10 found) and `golangci-lint` (0 issues).
- **Docs:** Update `docs/tui.md` and add release notes for the fix.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,12 @@
3
3
4
4
All notable changes to this project will be documented in this file.
5
5
6
+
## v1.2.3 - 2026-02-03
7
+
8
+
-**Bugfix (TUI):** Fix spacebar handling in the TUI editor and filter. Some terminals emit `tea.KeySpace` instead of `tea.KeyRunes` for the spacebar; the TUI now treats `KeySpace` as a typed space so spaces are inserted into editor commands and list filters consistently. Added headless tests `TestEditorTypingSpaceKeyInCommands` and `TestFilterModeSpaceKeyAppendsSpace` to prevent regressions.
9
+
-**Quality:** Ran `gocyclo` (no functions with complexity > 10 found) and `golangci-lint` (0 issues).
10
+
-**Docs:** Update `docs/tui.md` and add release notes for the fix.
11
+
6
12
## v1.2.2 - 2026-01-17
7
13
8
14
- Bugfix: Preserve comma-containing commands passed via a single `-c` flag (e.g., PowerShell `Select-Object` usage such as `Get-ComputerInfo | Select-Object OsName, OsVersion, OsArchitecture`). The CLI no longer splits a single `-c` value on commas — instead we use repeatable `-c` flags (`StringArray`) and ensure a single quoted `-c` is preserved literally.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ _Record. Automate. Run._
21
21
22
22
---
23
23
24
-
### Why not just an alias or a shell script?
24
+
### Why not just an alias or a shell script?
25
25
26
26
-**Aliases** - Fast to add, but per‑shell and per‑machine. They live in whichever RC file you edited and are invisible to others unless you share your dotfiles manually. Hard to discover across many short‑lived aliases.
27
27
-**Shell scripts / dotfiles** - Flexible and shareable, but scattered. To share you need a repo, copy instructions, or a package. Scripts don’t include author/metadata, versioned history for the command itself, or a simple, interactive discovery UI.
28
28
-**git** - Excellent for source control and team collaboration, but file‑centric: commits operate on files, not on discoverable, runnable command sets. Git workflows require manual commits and searches; they aren’t optimized for quick ad hoc rollbacks or interactive discovery of hundreds of tiny workflows.
29
29
30
-
### How krnr helps
30
+
### How krnr helps
31
31
32
32
-**Global (per‑user, per‑machine)** - krnr stores a single, versioned SQLite registry in your user config path (see `KRNR_HOME`), so any shell on your machine (bash, zsh, PowerShell, TUI, CI sessions) can access the same saved workflows without per‑shell setup.
33
33
-**Cross‑machine** — Use `krnr export` to produce a portable SQLite file (whole DB or selected sets) and `krnr import` on another machine. Exports are single files with metadata, timestamps, authorship, and configurable conflict policies (`--on-conflict` rename|skip|overwrite|merge) to avoid clobbering local setups.
- Bugfix: Fix spacebar behavior in the TUI. Some terminals produce a `KeySpace` event which previously was ignored; the TUI now treats it as a typed space in both the editor and list filter, restoring expected typing behavior.
4
+
- Tests: Add headless UI tests to cover `KeySpace` in filter and editor flows.
5
+
- Quality: Ran `gocyclo` and `golangci-lint` — no actionable issues found.
6
+
7
+
Upgrade note: This is a backward-compatible TUI fix; no DB or CLI-breaking changes.
Copy file name to clipboardExpand all lines: docs/tui.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,10 @@ Accessibility & theming
46
46
- High-contrast mode: toggle with `T` inside the TUI. This switches to a high-contrast color scheme to improve readability in low-vision or busy terminal themes.
47
47
- Menu modal: press `m` to open the **Menu** modal which contains actions like `Export database`, `Import database`, `Import set`, `Install`, `Uninstall`, and `Status`. Export/Import invoke the existing adapter-backed logic so the TUI delegates to the same exporter/importer paths as the CLI.
48
48
49
+
Key handling and spaces
50
+
- Note: different terminals may report the spacebar as either a `KeyRunes` event with a single `' '` rune or as a `KeySpace` event. The TUI now handles both forms consistently for editor input and the list filter so pressing the spacebar reliably inserts a space character regardless of environment. Tests were added to prevent regressions.
51
+
52
+
49
53
CI
50
54
- We added a GitHub Actions workflow `.github/workflows/tui-ci.yml` to run `go test ./... -v` across Ubuntu, Windows and macOS. The workflow validates headless UI tests and the rest of the test suite on PRs and pushes to `main`.
0 commit comments