Commit Graph
10 Commits
Author SHA1 Message Date
BlackAngelTV 4df542f590 feat(search): highlight the current match in its own color
Every match of the in-place search used the same mark color, so after pressing
n or N the only hint of the current match was the counter in the window title,
which is easy to miss on a short query or a dense screen. The marker now colors
the current match with the second mark color and keeps the rest on the first
one, rebuilding the marker whenever the index changes.

Fixes #51
2026-12-03 10:06:04 +01:00
BlackAngelTV f616651c49 fix(search): allow searching for a literal \c or \r
A query that starts with one of the two modifier prefixes could not be
escaped, so the text itself was unreachable: \c and \r were always consumed
as modifiers and the query ended up empty. A doubled backslash now ends the
modifier section and stands for the literal backslash, and the help line and
the docs document it.

Fixes #48
2026-12-03 10:01:34 +01:00
BlackAngelTV af032e3d87 style(scrollback-search): sort imports to satisfy ruff
CI / check (push) Successful in 3m26s
The lint job failed on the unsorted import blocks, which blocked the release
checks for the 0.1.7 bump.
2026-11-25 20:41:42 +01:00
BlackAngelTV bd22a8c5f3 fix(search): declare the window search attribute type
The scrollback search attribute in Window is annotated with ScrollbackSearch,
but the name was not imported, so the type checker reported an unresolved
reference.
2026-11-25 20:26:19 +01:00
BlackAngelTV 5f232ff99c feat(search): highlight and navigate scrollback matches in place
Searching the scrollback used to replace the whole screen with an external pager, losing the surrounding context. Highlight every match with a marker instead, show the [current/total] counter and provide temporary n/N/Escape bindings, restoring the previous marker and title when the search ends.
2026-11-25 20:25:36 +01:00
BlackAngelTV d866fae523 Merge pull request 'feat(notifications): notify when long commands finish, with duration and exit status' (#37) from feat/cmd-finish-notifications into main
Reviewed-on: #37
2026-11-12 07:24:19 +01:00
BlackAngelTV 8708aa4101 feat(notifications): show how long a command ran when it finishes
The duration was measured to decide whether a command was long enough to
warrant a notification, but it was never shown, so the notification could only
say that the command had ended. Report it next to the exit status, formatted
in milliseconds, seconds, minutes or hours depending on the length.
2026-11-11 10:45:45 +01:00
BlackAngelTV 3791cdc024 fix(notifications): report the parsed exit status of finished commands
A shell that ends a command with a bare OSC 133;D leaves the raw status string
empty, so the notification said "finished with status: ." and the command action
got an empty %s. Use the status already parsed for the event instead.
2026-11-11 10:45:18 +01:00
BlackAngelTV d6b19f026b feat(tab-bar): add command status and abbreviated cwd indicators
The tab bar only showed the window title, so it was impossible to tell at a
glance whether the last command failed or which directory a tab was in. Expose
the active window's last exit status and a compact working directory to
tab_title_template, and refresh the tab bar when a command finishes.
2026-11-09 11:14:07 +01:00
BlackAngelTV 3d174c45a4 chore: import official kitty sources from upstream
Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
2026-11-04 11:35:59 +01:00