Kitty 0.51 Terminal Emulator Adds Docked Windows, New Shaders

When KDE Konsole started glitching under XLibre and SonicDE, I switched to Kitty (KDE is working on a similar GPU accelerated terminal Kwi I believe to replace Konsole). It’s a little bit more hands on with editing a config file, but rewards you with an extremely fast rendering terminal. And it has some pretty impressive theme and feature support as well as supporting tabbed terminals which I use heavily. I should have switched sooner.

https://linuxiac.com/kitty-0-51-terminal-emulator-adds-docked-windows-new-shaders/

Kitty 0.51 adds OS-level docked windows, fixes security vulnerabilities, and improves session management and rendering.

By Bobby Borisov

Kitty, the GPU-accelerated, cross-platform terminal emulator, has released version 0.51, featuring OS-level docked windows, new custom shader effects, improved container support, and security fixes. The update arrives two weeks after version 0.50, which introduced initial docked-window functionality.

The main improvement is an expanded set of docking options. Users can attach terminal windows directly to the edge of an OS window, below the tab bar, using the new launch --type=os-window-dock option. Unlike docks attached to individual tabs or terminal windows, these remain visible across every tab within the same OS window.

Docked windows can be resized by dragging their inner border or using kitty’s existing window resizing commands. This makes them useful for persistent status displays, monitoring tools, or other terminal applications that remain accessible while switching tabs.

Another addition concerns custom shaders. Kitty 0.51 introduces new screen-shake effects that animate a terminal window when the bell is triggered. The shader system also gains new events and uniforms for detecting when commands start or finish and when applications enter or leave the alternate screen, allowing more responsive visual effects.

For developers working with containers, the update includes a mechanism for running programs launched in new kitty windows through wrapper commands. By placing a launch_wrapper.py file in kitty’s configuration directory, users customize how these programs start, including launching them inside the same container as the originating terminal.

Window watchers have also been improved. The on_close callback now reports why a window was closed, while a new on_cwd_change event detects changes to the current working directory. Resize and focus-change events are handled more reliably when multiple windows are created simultaneously.

On the security side, Kitty 0.51 fixes an issue that could allow terminal applications to hang the emulator by setting a window logo to a special file such as /dev/zero. Window logos and background images must reference regular files. The SSH kitten also no longer creates remote directories, including ~/.terminfo, with world-writable permissions.

Moreover, the built-in file selection tool, choose-files, receives additional protections against terminal escape-code injection through filenames, archive contents, ebook metadata, and preview output. The update addresses hangs when previewing special files.

Several session management issues have been resolved as well. Moving tabs or windows through drag and drop or detach operations no longer causes them to lose their associated session. Plus, the save_as_session action avoids opening saved sessions in incorrect windows or accidentally overwriting session files with empty content.

Other fixes address delayed screen updates, scrollback jumping when new output arrives, and synchronization problems involving images, cursors, and scrollbars. Rendering improvements correct issues with certain fonts and prevent crashes involving multiline characters and complex emoji sequences.

Finally, Linux users get platform-specific improvements. On Wayland, kitty supports touchscreen interaction with client-side window decorations and fixes a hang that could occur when displays were rapidly connected and disconnected. On X11, clipboard-related errors are reported without causing the terminal emulator to exit.