The 100ms bound on filtering 10000 entries is a wall clock measurement, and
it failed at 147ms in the release job while makepkg was still building next
to it, blocking the publication of the package for a test that guards
against a superlinear filter, not against a few milliseconds.
The limit is now one second, which still catches an implementation that
turns the listing into seconds, and the comment says why it is loose.
The 0.1.16 package was published before the changelog named each fork
release, so the version has to move for the documentation to reach the
packaged build. No functional change.
The changelog only had the accumulated list of the unreleased upstream
section, so a user of the fork could not tell which version brought which
fix, even though the package version is the fork one.
Each fork release from 0.1.10 to 0.1.16 now has its own entry naming the
change and the issue it closed, and the dock click tests are recorded in
0.1.16 next to the clipboard picker.
The mouse handling of the docked windows had no test: the existing dock
tests only checked the regions the layout carves, and nothing checked
which window the clicks are routed to, so a click lost on a right dock
could not be caught by the test suite.
The two windows of a tab are now hit tested with their own areas, in both
orders, so the same point on a right dock and on a left dock must resolve
to the dock. The layout tests also pin the position of a right dock, which
previously only had its width and its containment checked.
Refs #44
The clipboard history picker listed the entries without saying when they
were copied or which window would receive the paste, and the only way to
pick an entry was to read its hint label and type the letters, which the
picker never showed.
Each entry now carries the time it was copied and the window that will be
pasted into is named above the list, with a footer documenting the keys.
Pressing Up/Down moves the highlighted entry and Enter pastes it, through a
new --pick-from-list mode of the hints kitten that keeps the hint letters
working as before.
Fixes#49
The panel only reacted to a left click on a row, so every other gesture was
keyboard-only: the wheel did nothing, a double click did not open the entry and
there was no way to reach the actions from the pointer. The wheel now steps the
selection by three rows without leaking the event to the hosting terminal, a
second click on the same row within kitty's click interval runs the primary
action, and a right click opens the action palette on the clicked row.
Fixes#47
The panel was bound to kitty_mod+h, the trigger upstream gives show_scrollback,
so the last definition won: Ctrl+Shift+H stopped browsing the scrollback in a
pager while the docs and the built-in help still announced that behavior. The
panel now uses kitty_mod+alt+h and the documentation follows, with a test that
fails when two default actions claim the same trigger.
Fixes#46
kitty_mod+shift+f is the same physical key as kitty_mod+f, and
move_window_forward accepts the shifted fallback, so both definitions resolved
to the same trigger and the last one won: Ctrl+Shift+F moved the window instead
of opening the prompt, and the search had no shortcut at all. It now sits on
kitty_mod+alt+s, which no other default action claims.
Fixes#45
The action column of the panel was written with no width limit, so on a narrow
dock a long action name was cut by the edge of the panel in the middle of an
identifier, and a selected row padded with reverse video overflowed. The column
is now bounded by the room the row leaves and ellipsized with a single cell
ellipsis, the key column shrinks on very narrow docks, and the full name of the
selected action stays reachable on the help line.
Fixes#50
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
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
Both features shipped without a changelog entry while every other feature of
this release had one. Also record the symlink and ~ handling of the file
manager.
Symlinked directories were listed as files, so Enter opened them in the
editor instead of browsing them. Mappings and the remote control API reach
the panel without a shell, so --start-dir now expands a leading ~ itself.
Add the missing Python integration tests for the result handler.
The 0.1.7-1 release was built twice: the second run attached a package with a
different sha256 under the same name, so the CDN kept serving bytes from the
first build while the index announced the second, and pacman rejected the
download as an invalid or corrupted package. The release now refuses to replace
a published package whose checksum changed and asks for a pkgrel bump instead,
and it verifies the sha256 of the served file after the upload rather than only
its presence.
The scrollback search attribute in Window is annotated with ScrollbackSearch,
but the name was not imported, so the type checker reported an unresolved
reference.
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.
Expose the multi-key mappings starting at the configured leader key in a
which-key panel, so that continuations are discoverable as soon as the prefix
is pressed. Both the panel and the command palette read the same structured
mapping data, and the palette can now write a new mapping for the selected
action.
The release pipeline compiled the project twice: ./dev.sh build in the check
job, then makepkg in the release job. A single job now builds with makepkg and
runs go vet, the tests and the smoke test on that tree, so publishing starts
only after the shipped build passed.
CI skips version-only pushes, which package.yml already covers, and the release
fails early when RELEASE_TOKEN is missing instead of reporting a bogus 401. The
package name no longer keeps the ./ prefix from ls, which corrupted the asset
and X-Filename names.
The release tag, the Gitea release and the Arch package were named after the
upstream kitty release (0.50.0), so a fork release was indistinguishable from
an upstream one and disagreed with the version the binaries announce (0.1.6).
The version file and pkgver now follow the fork, while the embedded kitty
release stays in _kittyver and is checked against kitty/constants.py.
The self-hosted runner runs unprivileged, so the dependency installer
cannot add packages itself. Document the one-off pacman command and the
passwordless sudo alternative next to the release workflow.
The self-hosted runner is a bare Arch host, so ruff and the compilation
libraries were missing and the first pipeline run stopped at the lint step.
The installer only calls pacman for what is absent, so later runs stay
unprivileged.
Releases were built and uploaded by hand, so the published package could
lag behind main and nothing checked the tree before it shipped. The new
version file drives a pipeline that lints, builds and tests the exact
commit, then creates the Gitea release and pushes the package to the
pacman repository.
fws-kitty shipped the shell integration and system terminfo files also owned by kitty-shell-integration and kitty-terminfo, so pacman aborted on file conflicts. Depend on those packages and omit their paths from fws-kitty; bump pkgrel to publish the fix.
Use the standard kitty modifier instead of Ctrl+H, which many terminal
programs use for backspace. The help panel now lists the binding as
kitty_mod+h.
Runtime keybindings are read from the generated Options defaults, so
adding the definition alone did not expose the shortcut until the
config was regenerated.
Make the searchable shortcuts reference reachable without going through the
kitty shell, and advertise it on the shell's first screen. The default binding
takes over Ctrl+H, which is documented in the mapping description.
Running help without arguments in the kitty shell now opens a categorized,
searchable reference in a left dock instead of a pager. The new kitten collects
the effective bindings and hands them to the palette in read-only mode.
The shortcuts help panel needs the palette's search and categories without
running an action when a binding is chosen, and it lives in a dock where input
comes from the terminal rather than the overlay protocol. Read the bindings from
a file and skip execution in that mode.
List the global shortcuts, the keys added for the file manager, the clipboard
history and the session restore, and the controls of the built-in kittens in a
single dedicated file. It records what works without any configuration and how
to rebind each entry.
The tab bar has exposed the working directory of its active window since the
directory indicator was added, but it stayed invisible until users edited
kitty.conf. Put it in the default title template so the indicator works on a
fresh start, next to the exit status already shown there.
kitty_mod already includes shift, so kitty_mod+shift+v resolved to the same
chord as paste_from_clipboard and the mapping did nothing. Use the free alt
combinations and regenerate the option types so the bindings are part of the
default configuration.
auto_reload_config is parsed with the builtin float, which the generator
rejected because it only accepted Python functions, so regenerating the option
types after any change to the defaults was impossible.
Besides the --session=last startup option, the saved state can now be brought
back in a running kitty with restore_last_session, mapped to kitty_mod+alt+r.
The option types are regenerated so the shortcut is actually part of the
default configuration.
auto_reload_config is parsed with the builtin float, which the generator
rejected because it only accepted Python functions, so regenerating the option
types after any change to the defaults was impossible.
Without a default shortcut the history was effectively undiscoverable, unlike
every other clipboard action. Use kitty_mod+shift+v for the history and
kitty_mod+shift+f for the fuzzy search, both keys being unused.
The picker overlay is the active window while it is open, so pasting into the
active window after a selection went nowhere once it closed. Remember the
window the user was working in before showing the list.
OSC 52 writes are committed as a chunker factory rather than bytes, so the
history silently dropped every text copy made by a program. Extract the text
from either representation, bounded so a huge write is not materialized.
The save ran from the cleanup path, after the quit request had already made
the C side close every OS window, so the serialized session was always empty.
Save from the quit paths instead, where the windows still exist, and keep the
cleanup path as a no-op fallback.
Users need to know the history is memory only and how to bind the two new
actions, since nothing is mapped by default and unrecorded clipboard content
would otherwise look like a bug.
Explain where the state is kept, that restoring is explicit and what happens
to a stale or corrupt state file, so that users know the feature exists and how
to get rid of the saved state.
The documentation needs extensions that are not installed system-wide, so
make html failed on a fresh shell even though the project already keeps them in
the root tool environment. Falling back to sphinx-build keeps the target
working when no environment is present.
The panel could only be browsed entry by entry, which is slower than cd and ls
in a large directory. Typing / now filters the listing with the same fuzzy
matcher as the command palette, typing : lists every action with its
description from a single catalog, and o/t open the selection in a new tab or
OS window. Sizes are read once when the directory is listed so that sort_by
size does not need to stat the entries again.
The notification only happened if notify_on_cmd_finish was passed on the
command line or written in kitty.conf, so a fresh build looked like it had no
such feature at all. Long-running commands now notify by default once the
window loses focus; the 5 second threshold keeps short commands silent.
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.
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.
Opening a directory in the panel now hands it to the shell, so walking the tree
reads like cd and the two stay on the same directory. The request is still read
at the shell's next prompt, and quitting without validating withdraws a request
the shell has not read yet, so Esc keeps leaving the shell where it was.
The panel and the shell now share their directory out of the box; whoever wants
the previous independence sets sync_cwd no. The request is only written once the
shell has published its directory, since that file is what proves its
integration hook will read the request: a shell without shell integration still
gets the cd typed into the terminal instead of losing the change.
The panel and the shell each kept their own directory. The new sync_cwd option
keeps them in step both ways, through files in a session directory exported by
kitty rather than by typing a command into the terminal: the shell applies the
directory chosen in the panel from its prompt hook with builtin cd, so nothing
lands in the history and a half typed multi-line command is not submitted.