{"repo":"rockorager/vaxis","free":true,"listed":false,"github":"https://github.com/rockorager/vaxis","clone":"git clone https://github.com/rockorager/vaxis.git","description":"a modern tui library for go (mirror of git.sr.ht/~rockorager/vaxis)","language":"Go","stars":111,"topics":["golang","library","sixel","tui"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Vaxis Vaxis is a Terminal User Interface (TUI) library for go. Vaxis supports modern terminal features, such as styled underlines and graphics. A widgets package is provided with some useful widgets. Vaxis is blazingly fast at rendering. It might not be as fast or efficient as notcurses, but significant profiling has been done to reduce all render bottlenecks while still maintaining the feature-set. All input parsing is done using a real terminal parser, based on the excellent state machine by Paul Flo Williams. Some modifications have been made to allow for proper SGR parsing (':' separated sub-parameters) Vaxis does not use terminfo . Support for features is detected through terminal queries. Vaxis assumes xterm-style escape codes everywhere else. Contributions are welcome. Usage Minimal example Primary-screen live region By default Vaxis enters the alternate screen. For applications that should leave output in the shell scrollback, create Vaxis with PrimaryScreen . In this mode Window is the live region, and Append , AppendString , or AppendWriter queue output to be written before that live region on the next Render . The primary screen is owned by the terminal, so existing shell scrollback may reflow on resize. Vaxis repaints the live region after resize, but appended content remains normal terminal output. The ui package can use the same mode. WithDynamicPrimaryScreen measures the root widget and resizes the live region to the widget's preferred height each frame: EventC","default_branch":null,"files":null,"tree":[],"storefront":"/r/rockorager","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rockorager/vaxis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}