I
I
Issue2021-06-29 23:48:15
linux
Issue, 2021-06-29 23:48:15

What UI framework can be used in Linux CLI interface?

Interested in libraries for writing a user interface in a terminal under linux.
I searched, but did not find it, I am interested in something similar to the lynx, htop interface, it is also in the linux server installer and other programs.
Of the required functions, you need:
buttons, checkboxes, selects (combo boxes), single-line and multi-line inputs, progress bars, etc. so that all this would work in any terminal.

Languages ​​- it doesn't matter, the main thing is compatibility with linux.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-06-30
@paulenot

Well, the classic - curses, under C (it is just made on it lynx and htop)
Analog from C # - Terminal.Gui
Under Go - termui, termbox-go, tcell
Under Rust-tui-rs
It seems that there is a python, but I can’t remember the name. You can search here: https://github.com/topics/tui?l=python

P
pfemidi, 2021-06-30
@pfemidi

Well, if the tags say that "COMMAND LINE", then no ncurses will work - this is no longer a command line, with ncurses (and other Turbo Vision that were advised here) you need to link your program, not "command line". Namely, about the command line, I already gave an answer in October 2019 , this is exactly the command line.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question