Kitty 0.50 Picks Up Where You Left Off After a System Restart

Wait 5 sec.

kitty is a GPLv3-licensed, GPU-based terminal emulator for Linux and macOS that uses OpenGL for rendering and is written in C, Python, and Go.It can organize work into tabs and windows across seven layouts, supports small terminal programs called kittens that can be used to extend it, and can be controlled from the shell.v0.50, its newest release, can bring back your open windows after a logout on Linux and macOS.Kitty 0.50kitty now saves every OS window, tab, and window with its scrollback when a session ends and restores them at the next launch. You turn it on in kitty.conf with the restore_session_after_logout setting.On Linux, this needs a desktop portal with v3 of the inhibit interface, and while Linux stores the state unencrypted and readable only by you, a macOS system would encrypt it with a dedicated key in the keychain.Docked windows are new too, and they let you pin a window to the edge of another window or a tab. They sit outside the layout and are meant for things like a status bar or a file tree. A window dock goes wherever its window goes, and a tab dock stays until the last regular window in that tab closes.There are also the three new cursor trail shaders called cursor-trail-railgun, cursor-trail-torpedo, and cursor-trail-pixiedust. When in use, these emit particles off the moving cursor, giving you a Neovide-like trail. They need cursor trails turned on, and shaders can also be triggered with key presses now.Wayland users can now use a touchscreen to click with a tap, scroll with a swipe, and select text by holding a finger in place before dragging to select the rest of it. Window decorations on GNOME and similar compositors also look native and use the desktop's titlebar font and button layout (as shown above).The release also fixes a flaw that let a malicious request bypass remote control password authentication, along with several memory safety bugs.Some testsI ran kitty 0.50 on Ubuntu 26.10 with GNOME 51 on Wayland, all running inside a virtual machine.First, I tried docked windows by adding two key bindings to my config using Nano:map f1 launch --type=tab-dock --dock-edge=bottom --dock-size=1 --dock-skip-focus watch -n1 datemap f2 launch --type=window-dock --dock-edge=left --dock-size=25% topI pressed F1 first. A one-row strip showed up at the bottom of the window and stayed there. I had pointed it at watch -n1 date, but all I got was a shell prompt.F2 was next. It opened a top panel on the left edge, and the shell made room for it. I kept pressing it, and each press added another panel beside the first, three in total.Opening a new tab using Ctrl+Shift+T gave me a clean slate, with the earlier view going to the background.Next, I tested one of the three new cursor trail shaders. I added cursor_trail 1 and custom_shaders cursor-trail-pixiedust to my config and restarted kitty. Whenever the cursor jumped across the window, it left a trail of small white specks behind it.InstallationYou can use the following cURL command to get kitty:curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdinIt is also available in the repositories of most major Linux distros, but these tend to run behind when it comes to new releases. Here's a list to give you a quick start:Ubuntu: sudo apt install kittyFedora: sudo dnf install kittyArch Linux: sudo pacman -S kittyBuilding from source is also a possible installation path if you prefer that.Before you click away, know that you can customize kitty to your liking by tweaking its various settings or installing kittens.