Skip to content

Releases: yozlog/tui-chan

v0.6.0

29 May 22:11

Choose a tag to compare

This release updates the user experience by adding image rendering, Vim-style navigation, fuzzy searching, and various stability fixes.

🚀 Features & Enhancements

  • Terminal Image Rendering:
    • Added native support for rendering high-resolution images using iTerm2 and Kitty graphics protocols. Compatible with Ghostty, WezTerm, Kitty, and modern iTerm2. Includes hardened protocol transmission and centralized graphics detection. (1dbc79b, aeee5c6, d158e68, 3c17fcf, c15a110, 5a2ff45)
    • Unicode Fallback Rendering: Implemented a universally compatible Unicode half-block () image renderer for terminals without advanced graphics support. (74fae29)
    • Multiple Image Preview Layouts: Choose between inline (4chan-style left thumbnails), split (right-side 60/40 preview panel), or hybrid (both simultaneously). (77eef23)
  • Vim-Style Navigation:
    • Full support for Vim-style prefix count multipliers (e.g., 5j, 10k) for ultra-fast list navigation. Implemented with highly optimized numeric accumulators to prevent math underflow crashes. (ed3e2b5, 54f3775, 1442019)
    • Added standard gg (jump to top) and G (jump to bottom) keybinds. (57b60e2)
    • Added relative and absolute line numbers in the board list to assist with prefix jumps (board_line_numbers, board_relative_line_numbers). (863b0ca)
  • Fuzzy Board Search: Added a brand-new fuzzy search (f) feature to quickly find boards. Choose between the seamlessly integrated native backend or the powerful external (fzf binary) backend. The core TUI event loop was massively refactored and simplified to support this cleanly. (eb0896d, d7795d3)
  • Runtime Toggles: Added keybind i to quickly toggle image rendering on/off without needing to restart the application. (74b3733)

🛠 Core Improvements & Fixes

  • Panic Preventions (Crash Fixes): Fixed legacy crashes caused by malformed HTML encoding and network disconnects when fetching API data from 4chan. (9cc2e1b)
  • Resource Optimization: Aggressively audited the codebase to reduce runtime allocations, drop unused heavy dependencies, and heavily optimize memory footprint. (24c2ec9, e5e309c)
  • Keybind Conflicts: Decoupled the Enter key from Ctrl+J normalization in the terminal input sequence. (bb03f85)

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