Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 25 Jan 16:38

TUIOS v0.6.0 Release

New Features

Kitty Graphics Protocol Support (Experimental)

image

TUIOS now supports the Kitty graphics protocol for inline image display. Applications running inside TUIOS can display images directly in the terminal when using a compatible host terminal.

Supported terminals: Kitty, WezTerm, Ghostty, iTerm2, Foot, Contour

Warning

Experimental: This feature is experimental and bugs are expected. Use TUIOS_KITTY_GRAPHICS=0 to disable if you encounter issues.

Terminal Mode Shortcuts

New keybindings that work directly in terminal mode without requiring the prefix key:

Platform Next Window Previous Window Exit Terminal Mode
macOS Opt+Tab Opt+Shift+Tab Opt+Esc
Linux/Windows Alt+N Alt+P Alt+Esc

These shortcuts let you quickly cycle between windows or exit terminal mode without interrupting your workflow.

Native Cursor Shape Rendering

TUIOS now renders native cursor shapes (block, bar, underline) with blink support. This is particularly useful for vi-mode users in shells like zsh where the cursor changes based on editing mode:

  • Normal mode → Block cursor
  • Insert mode → Bar cursor

Improvements

  • Performance: Skip animation calculations when no animations are active
  • Compatibility: Improved arrow key handling in ncurses applications (cmus, htop, etc.)
  • Platform: Split Unix capability detection into separate Darwin and Linux implementations

Bug Fixes

  • Fixed paste not working in daemon mode (#71)
  • Fixed cursor shape rendering using real terminal cursor for native vi-mode support (#70)
  • Fixed safe color comparison during rapid scrollback to prevent crashes
  • Fixed various Kitty graphics issues:
    • Image clipping and passthrough mode
    • Scroll position and placeholder spacing
    • Multi-window support and drag handling
    • Altscreen handling and cleanup
    • Virtual placement handling

Configuration

New [keybindings.terminal_mode] section for customizing terminal mode shortcuts:

[keybindings.terminal_mode]                                                                                                                                                                                                        
terminal_next_window = ["alt+n"]      # or ["opt+tab"] on macOS                                                                                                                                                                    
terminal_prev_window = ["alt+p"]      # or ["opt+shift+tab"] on macOS                                                                                                                                                              
terminal_exit_mode = ["alt+esc"]      # or ["opt+esc"] on macOS    

Environment Variables

New environment variables for graphics control:

TUIOS_KITTY_GRAPHICS=1/0    # Force enable/disable Kitty graphics                                                                                                                                                                  
TUIOS_SIXEL_GRAPHICS=1/0    # Force enable/disable Sixel graphics                                                                                                                                                                  
TUIOS_DEBUG_CAPS=1          # Log capability detection to /tmp/tuios_caps.log         

Known Issues

  • Sixel graphics support is implemented but currently disabled pending proper raster clipping for windowed environments
  • Kitty graphics horizontal clipping not yet implemented (images wider than viewport are hidden)

Installation

TUIOS (Terminal Window Manager)

Quick Install (Linux/macOS):

curl -sSL https://raw.githubusercontent.com/Gaurav-Gosain/tuios/main/install.sh | bash

Homebrew (macOS/Linux):

brew tap Gaurav-Gosain/tap
brew install tuios

Arch Linux (AUR):

# Using yay
yay -S tuios-bin

# Using paru
paru -S tuios-bin

Nix:

# Run directly
nix run github:Gaurav-Gosain/tuios#tuios

# Or add to your configuration
nix-shell -p tuios

Go Install:

go install github.com/Gaurav-Gosain/tuios/cmd/tuios@v0.6.0

tuios-web (Web Terminal Server)

Homebrew (macOS/Linux):

brew tap Gaurav-Gosain/tap
brew install tuios-web

Arch Linux (AUR):

# Using yay
yay -S tuios-web-bin

# Using paru
paru -S tuios-web-bin

Go Install:

go install github.com/Gaurav-Gosain/tuios/cmd/tuios-web@v0.6.0

Manual Download:
Download the appropriate tuios_* or tuios-web_* archive for your platform below, extract it, and run.

Changelog

New Features

Bug Fixes

Performance Improvements

Other Changes

  • 6fa2380: Add extra guards in safeColorsEquals to account for rapid scrollback such as use in Claude Code (@jacob-sabella)

Full Changelog: v0.5.1...v0.6.0