[ Home ]
[ en / f / h3 / i / jp / t / v ] [ Home ] [ FAQ ] [ Rules ] [ Index ] [ Catalog ]
Board Statistics
Board PPD Total Posts Unique Posters Last Post
Welcome to the WIRED
process_primitives.png - 62.09 KB (276x178)

You know those programs with in-terminal GUIS (e.g alsamixer), how does that work?

>>

Somehow.

>>
1734805646973.jpg - 365.47 KB (2429x1208)

>>1053 it's called TUI, in principle you can make one just using your terminal's protocol. there are libraries like pdcurses, termbox2, crossterm or ncurses that include utility functions and add a compatibility layer so you don't have to learn the different terminal protocols. and then there are higher level libraries that even come with widgets and multi-platform input handling like tuibox, libtickit*, libvaxis or ratatui* these last two don't depend on any curses emulator and use their own, significantly less bloated, stacks there is also imtui if you want a terminal backend for imgui *: c **: zig ***: rust

>>

I think I dreamed about programming something like this in C Weird

Submit New Reply

Fortune Sage Nonoko

Max comment length: 0/4096

Add Poll
Emotes
Styling
Drag files here to upload or
click here to select them, or paste an image
Captcha
Select all images of Patchouli Knowledge
Images fetched from Safebooru
Delete post: [ File only ]

Quick Reply

Fortune Sage Nonoko

Max comment length: 0/4096

Emotes
Styling
Captcha
Select all images of Patchouli Knowledge
Images fetched from Safebooru