Skip to content

v12.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 20:50
· 8 commits to master since this release
dba4bbb

Added

  • Kitty: transmit images through a POSIX shared memory object (not on Windows). Opt-in probe via QueryStdioOptions::kitty_shared_memory_object and QueryStdioOptions::probe_kitty_smo(), reported as Capability::KittySharedMemory
  • QueryStdioOptions::stdio and QueryStdioOptions::stdio_dev_tty() to run the capability query over custom file descriptors (not on Windows)
  • examples/dump.rs
  • Windows: stdin polling uses CONIN$ and discards non-keydown events

Fixed

  • Sliced images that are cut at both top and bottom at the same time
  • tmux passthrough escapes for sliced sixel, and the sixel string is no longer rejected under tmux when it does not start with an escape
  • Kitty: give the placement size in cells (c/r)
  • The stdin query polls with rustix::event::poll and reads only when data is available, instead of using a thread

Changed

  • Breaking: QueryStdioOptions::timeout: Duration is now timeout_ms: i32, and is a deadline for the whole query rather than restarting on every read
  • Breaking: QueryStdioOptions has new public fields (kitty_shared_memory_object, stdio)
  • Breaking: Capability has a new variant KittySharedMemory
  • Breaking: StatefulKitty::new takes an additional smo: bool argument
  • Breaking: removed Errors::NoFontSize
  • Breaking: when the query gets no usable response or no font size, Picker::from_query_stdio falls back to halfblocks (using the ioctl font size if available) and no longer picks a protocol from tmux or iTerm2 environment hints
  • New rustix features (event, shm, mm) and Win32_System_Threading for windows

Other

  • Docs: link fixes in cap_parser, describe Picker::from_query_stdio_with_options