/t/ - Technology

Welcome to the WIRED

Posting mode: Reply
Visit J-List - Your Favorite Online Shop and Friend in Japan
Get the Newest Figures from J-List - Your Favorite Online Shop and Friend in Japan

[]
01/20/25 A total rewrite for the site is in progress. Read more.
05/21/24 Happy birthday hikari3! (News post)
12/21/23 Recent news post: Check here. Also, new board added: /i/ - Oekaki.
11/25/23 Accepting banner submissions; check this thread for more details.
11/17/23 New blotter! Use this to keep an eye for small updates.
[Show All]


(62.09 KB 276x178 process_primitives.png)
Anonymous 01/25/2025 (Sat) 23:43:21 No. 1053
You know those programs with in-terminal GUIS (e.g alsamixer), how does that work?
>>
Somehow.
>>
(365.47 KB 2429x1208 1734805646973.jpg)
>>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


Quick Reply