Questions tagged [tui]

Text User Interface development: command line, menu driven or full screen applications.

A Text User Interface is any kind of interface that uses only fixed width text mode display. Command line interfaces, which may have no display whatsoever also fall into this category. A text user interface may be menu driven or use mouse input in addition to keyboard input. Graphics may be rendered using extended characters sets, such as high/extended ASCII.

There's now a Stack Exchange site devoted to user interface design: ui.stackexchange.com

Similar tags:

See also:

199 questions
1
vote
1 answer

"Push-to-make" style use of keyboard keys

I am using C in Fedora Linux to build a voice streaming application. I have audio running between two clients, but the next stage is to implement the user interface. I am aiming to use different keyboard keys in a "push to talk" style, ie holding…
aktungmak
  • 409
  • 1
  • 5
  • 13
1
vote
1 answer

Is it possible to use ncurses through a telnet connection?

I wanna use a TUI over telnet connection between two Linux boxes like ncurses, is there a way to do this or to use TUIs through telnet in C?
Lando
  • 51
  • 5
1
vote
1 answer

How to print a 2-columns table in Golang?

Kind of stuck with this. My idea is having a function that prints a two-columns table. The first one is for keys, and it has a fixed width. The second one is for values, which may be very long strings, and its width depends on the current width of…
Baratz96
  • 27
  • 7
1
vote
1 answer

Inline Printing For Zsh Autosuggestions adding extra space when deleting

I am working to create a zsh script that gives auto completions and I am trying to do inline suggestions using tput and echoing the expected rest of the input. It works fine for when adding a character but when deleting there is an extra space where…
BigWinnz101
  • 61
  • 1
  • 5
1
vote
0 answers

Tui Datepicker How to use setDate

I'm using a datepicker inside a modal, but I don't know how to specify a specific date when the modal is opened. Is there a way to display a specified date when using tui datepicker? Below is the example code const asDate = new…
P.P
  • 11
  • 3
1
vote
0 answers

How to integrate keyboard events while reading for input - golang [Need cross platform support]

I am implementing a CLI application using golang.[Need cross platform compatibility] My requirement is that when a user is being prompted for an input and after the user has finished typing if the user presses Ctrl+D without pressing Enter then some…
1
vote
0 answers

A way to display Latex style math equations in the terminal?

What I'm trying to do Im trying to create a terminal app to use as an advanced calculator and I want the equations to be formatted the way they are in latex and mathway.com both as input and output. I was considering using FinalCut to create the TUI…
dvs
  • 21
  • 1
  • 3
1
vote
0 answers

How can I make small circles in a java TUI?

I am making a board game with a simple TUI and I am trying to display the board on the screen. It's kind of like tic-tac-toe, except that what you place one the board are black or white disks. I wanted to have the black disks be an O (this would…
Paul
  • 19
  • 5
1
vote
1 answer

How to show standard output in TUI?

Let's assume we already have a project where there is a main crate which depends on many other crates (some from crates.io and some other local). And now I want to add a Terminal User Interface to it, with one of the widgets showing what up to now…
19mike95
  • 506
  • 2
  • 4
  • 19
1
vote
1 answer

gdb 12.1 on macosx and windows hanging sometimes, lldb missing equivalent features. Anything we can do?

We are running students on assembler on windows and some intel macs. gdb is failing under msys2 when using layout (TUI). I was able to get it working on the CMD window, but it still dies if: gdb myexe layout src b main r program crashes. Sometimes…
Dov
  • 8,000
  • 8
  • 46
  • 75
1
vote
1 answer

Create vector of multiple structs for Rust

I am pretty new to Rust. So I might be doing something dumb. For context, I am using tui-rs to make a small terminal application. This is the relevant cleaned code. use tui::widgets::{Block, List, Widget}; pub struct UI { widgets: Vec
Moiz Sohail
  • 558
  • 5
  • 22
1
vote
0 answers

Updating Textual widgets in place

I have built the following app that will show a text description. The user then selects the correct category (by pressing one of the SelectButtons) for this description and presses the "next" button (ActionButton). In doing so, the selected cateogry…
KOB
  • 4,084
  • 9
  • 44
  • 88
1
vote
0 answers

Using rich or textual to generate a grid like a chess board

I would like to know the efficient way to generate a grid (literal meaning) using rich or textual. I have noticed the rich.table package so yes I can generate a grid but I didn't find a way to change the background color of a single cell. But also,…
microchip
  • 81
  • 1
  • 6
1
vote
1 answer

Difficult loading Spectre.Console .NET typed classes in Powershell

I'm trying to use the excellent Spectre.Console to create nice interactive prompts in powershell. So far I can get a simple Read-Host equivalent to work using the below: Add-Type -AssemblyName…
loldfield
  • 31
  • 3
1
vote
0 answers

how do i update pytermgui window with live data?

I have set up a gui with pytermgui (just my windows so i can put in widgets) manager.add( ptg.Window("solar") # , etc. but want to change the content of the window periodically (with some live data eventually) whats the refresh…