Distro News

Kitty 0.51 terminal emulator adds OS-level docked windows and custom shaders

Key Takeaway

Kitty 0.51 introduces OS-level window docking, enhanced shader capabilities, and critical security hardening against escape-code injection.

Summary

The Kitty GPU-accelerated terminal emulator has released version 0.51, expanding its window management and visual customization features. A major addition is the ability to dock windows at the OS level, allowing terminal panes to remain visible across all tabs within a single OS window via the --type=os-window-dock option.

This release also focuses on developer workflows and security. It introduces a wrapper mechanism for containerized program execution and implements several security fixes to prevent terminal applications from hanging the emulator or exploiting escape-code injection vulnerabilities in the file selection tool.

Technical improvements in Kitty 0.51

  • Window Management: The new docking system allows users to attach terminal windows to OS window edges or below the tab bar, providing persistent areas for monitoring tools that survive tab switching.
  • Shader System: New shader events and uniforms enable visual effects based on command lifecycle (start/finish) and alternate screen transitions, including a screen-shake effect triggered by the terminal bell.
  • Security Hardening: The update prevents emulator hangs by requiring window logos and background images to be regular files, and protects the 'choose-files' tool against escape-code injection from filenames and metadata.
  • Container Integration: A new 'launch_wrapper.py' mechanism allows users to define how programs in new windows are started, facilitating seamless execution within existing containers.
  • Platform Specifics: Wayland support now includes touchscreen interaction with client-side decorations, while X11 fixes prevent terminal exits during clipboard errors.

Why it matters

These updates enhance the productivity of power users and developers who rely on complex terminal layouts and containerized environments. The security patches specifically protect users from malicious terminal applications attempting to exploit file-handling or rendering processes.

Original reference: linuxiac.com →