Skip to content

Releases

hnoss v0.2.0

Choose a tag to compare

@Huseynteymurzade28 Huseynteymurzade28 released this 02 Nov 10:20

Forms, overlays and more input for hnoss.

New widgets

  • Button
  • Checkbox, toggle and radio
  • Select / dropdown
  • Text area: multi-line editing
  • Modal dialog: dims the frame and holds input back from widgets under it
  • Scroll view: clips its content and keeps mouse events inside the viewport
  • Spinner

Input

  • Focus in/out events (DECSET 1004)

Fixes

  • List and table clamp the selection and offset after every event

Install

git submodule add https://github.com/Huseynteymurzade28/hnoss libs/hnoss
git -C libs/hnoss checkout v0.2.0

Full changelog: v0.1.0...v0.2.0

hnoss v0.1.0

Choose a tag to compare

@Huseynteymurzade28 Huseynteymurzade28 released this 30 Oct 08:30

The first release of hnoss, an immediate-mode TUI library for Odin.

demo

What's in it

  • Terminal: raw mode, alternate screen, bracketed paste, mouse capture, kitty keyboard protocol; restored on exit, panic and signals
  • Input: an incremental escape-sequence parser for keys, modifiers, mouse, paste and resize
  • Rendering: double-buffered diff, one write per frame, truecolor / 256 / 16 colors
  • Text: Unicode 16 widths, grapheme clusters, wrapping, [b red]markup[/]
  • Layout: edge cuts, proportional split, grid, center
  • Widgets: box, label, paragraph, scrollbar, list, table, tabs, gauge, sparkline, braille graph, text input; focus and themes

Install

git submodule add https://github.com/Huseynteymurzade28/hnoss libs/hnoss
git -C libs/hnoss checkout v0.1.0
import hnoss "libs/hnoss"

Linux only for now; macOS (#4) and Windows (#5) are open.