-- Leo's gemini proxy

-- Connecting to gemini.cyberbot.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

RE: Lightweight GUIs, TUIs


2021-11-21


In response to ew0k and Toby


=>gemini://warmedal.se/~bjorn/posts/2021-11-20-re-re-lightweight-simple-and-cross-platform-gui-programming.gmi ew0k's response

=>gemini://tobykurien.com/articles/2021-11-20-re-gui-toolkits.gmi Toby's response


While I'm not a programmer I love the terminal and have thought about the terminal as an extremely lightweight (and possibly cross-platform) interface before a number of times. I do use my terminal as an interface for my dashboard including buttons for mouse/touchscreen interaction. To answer ew0k regarding mouse clicking in the terminal, yes most terminals support mouse interaction. Not all but most. My terminal dashboard has a keyboard attached only but runs on a Pinetab with a touchscreen. I switch tmux windows and panes, tap buttons for controlling music etc. via the touch screen in the terminal. The terminal emulator sees the taps on the touchscreen the same as a mouse click.


Regarding Toby's comments about a smartphone using a TUI as the interface. SXMO, which is what I run on my Pinephone, is partially doing this. It's not full TUI through and through. The interface is based on sway wm but most of the built in functionality is shell scripts and terminal apps. Some basic navigation in terminal apps can be done via touchscreen gestures. The performance benefits are pretty clear especially on a low-spec device like the Pinephone. SXMO is noticeably snappier than any of the other Pinephone OSs I've tried.


There are probably tons of options for making TUIs, ncurses, python, this TermUI go framework that I have bookmarked. I think we need more TUIs :). They are super lightweight and I think they look cool.


My Terminal Dashboard

TermUI



back to gemlog index

-- Response ended

-- Page fetched on Tue Apr 30 10:30:52 2024