Skip to content

Velocitty 1.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 13:18

Velocitty 1.3.1

Progress-bar redraws proven obsolete are skipped under input pressure,
links are clickable, and many terminal-correctness fixes. See
the 1.3.1 design page.

Output handling

  • Progress-bar redraws of 64 bytes or more are skipped when a later update covers them.
  • Scrolling moves rows instead of copying cells.
  • Escape sequences with more than 32 parameters no longer corrupt the last one.

Links

  • Plain-text http://, https:// and www. URLs are detected and underlined, across soft-wrapped rows, without trailing punctuation. Only rows that changed are scanned again: a keystroke frame with 138 links on a 250x70 screen went from 32.8 us to 0.74 us.
  • OSC 8 hyperlinks keep their target per cell.
  • Ctrl+click (Ctrl+Shift+click while an application reports the mouse) opens the OSC 8 target, else the detected URL, with xdg-open on Linux. The hand pointer shows only over links a click would open: http, https, ftp, mailto, and file:// on this host that exists and is not executable. A click on any other link selects text.

Graphics

  • Kitty graphics supports zlib-compressed images (o=z), and replies include both the image and placement ID.
  • Kitty Unicode placeholders (U=1 virtual placements). XTVERSION answers "ghostty" so Claude Code enables kitty graphics.
  • Images are decoded with wuffs instead of stb_image: about twice as fast for PNG, and Apple CgBI PNGs and JPEGs missing their end marker now load.
  • Images decode on worker threads when they first become visible; uploads read only the header, so a large image no longer stalls a frame.
  • Images on screen are redrawn only when they change: typing next to a full-window image costs 0.05 ms per frame instead of 2.6 ms.
  • Kitty commands that leave images unchanged no longer mark every line dirty.
  • Sixel images are drawn at their own pixel size instead of being stretched to whole cells.
  • A sixel geometry set with XTSMGRAPHICS is held to the larger of the grid and 2048 px, so an application can no longer make the decoder allocate gigabytes.
  • PNG, JPEG and GIF images larger than the decoder takes (4096 px) are refused at upload with EINVAL, instead of being acknowledged and then dropped.

Terminal correctness

  • Saving and restoring the cursor (DECSC/DECRC) keeps the underline color and an indexed foreground color.
  • A terminal reset (RIS) still sends replies already owed and a title set just before it, and restores the default pointer shape.
  • DECRQSS reports the foreground, background and underline colors.
  • The kitty keyboard protocol reports only the flags Velocitty implements (disambiguate, report all keys), so applications don't wait for events that never come.
  • Rectangle fills (DECFRA, DECALN) keep the underline color; DECFRA accepts ~ and ignores characters above 255.
  • DECRARA toggles any underline shape off, and back on as a single underline.
  • Resetting the cursor color (OSC 112) repaints it right away.

Fonts

  • Fonts can be memory-mapped instead of copied.
  • Exact bold and italic lookups find their face, and family names containing -, : or , reach fontconfig intact.
  • Any fontconfig change (configuration, installed fonts, caches) reloads the fonts, without reloading the theme or resetting colors an application set.
  • The font cache file format changed; the old cache is rebuilt once.

Desktop

  • The vici desktop's theme is read and followed live; inside a vici session it wins over Omarchy's.
  • On Linux, the frame rate follows the monitor the window is on.
  • Peak on Wayland loads the compose table and keymap lazily, for a faster start.
  • Environment values longer than 255 bytes (e.g. TERM, COLUMNS) are no longer unset after the shell starts.

Packaging, benchmarks and code

  • AUR packages: velocitty-bin and velocitty-git.
  • Opt-in startup stage trace (VELOCITTY_STARTUP_TRACE) and a first-key latency benchmark.
  • The code base was restructured so each concern has one owner, and tests check behaviour through the terminal as an application drives it. The test build fails if a source or test file is left out.