Repository navigation
Releases
Releases · Huseynteymurzade28/hnoss
hnoss v0.2.0
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.0Full changelog: v0.1.0...v0.2.0
hnoss v0.1.0
The first release of hnoss, an immediate-mode TUI library for Odin.
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.0import hnoss "libs/hnoss"