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.