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
3
votes
2 answers

How to indicate that a urwid listbox has more items than displayed at the moment?

Is there a way to show a user that a urwid listbox has additional items above / below the dispalyed section? I'm thinking of something like a scrollbar that gives an idea of the number of entries. Or a separate bar at the top / bottom of the list…
AFoeee
  • 731
  • 7
  • 24
3
votes
2 answers

GUIs vs TUIs in Python

I'm interested in doing rapid app development in Python. Since this is mainly for prototyping purposes, I'm looking for a way of creating "rough" user interfaces. By this, I mean that they don't have to look professional, they just have to be…
pythonBOI
  • 57
  • 4
3
votes
1 answer

C TUI Development - Help / Tutorials?

I have been looking through previous questions regarding this topic and so far none of them answer my question. I am looking for a way (without libraries) to build my own TUI from the ground up. I want to start off with a simple program that reads a…
Ambiguities
  • 415
  • 6
  • 18
3
votes
4 answers

Text-Based User Interface Development

Where can I find resources related to the design and development of text-based user interfaces (e.g. interfaces exported via serial port from embedded devices to VT100 terminals)? I am interested in any material available - best practices, style…
Brandon E Taylor
  • 24,881
  • 6
  • 47
  • 71
3
votes
1 answer

How to make a Linux program with a TUI

I want to make a Linux program with a text-based user interface. What is the best way to go about this? Upon searching the internet I discovered the curses and ncurses libraries. What are the differences between the two, and which if any is better…
Mahdi
  • 967
  • 4
  • 18
  • 34
2
votes
2 answers

I need to restructure this class without the use of instance variables

So I'm doing a TUI and this was my first iteration. package bulb.classes; import java.util.Scanner; import java.util.ArrayList; public class RoomTUI { private ArrayList rooms; Scanner scan = new Scanner (System.in); private int…
Lord Canti
  • 25
  • 3
2
votes
1 answer

How to update a Textual TUI within a function call?

I'm using the Textual framework for a simple TUI. The task is to display the results of ChatGPT-prompts as they are streamed. Problem is: I cannot figure out, how to update the app, so that it shows the streamed results. Here is a minimal example. I…
Dronakuul
  • 147
  • 9
2
votes
2 answers

How do you update the terminal in a TUI application without it flickering?

I have a tui application written in C where the simplified mainloop look something like this: enterrawmode(); while(1) { clearscreen(); //I clear the screen using a ANSI code. checkforresizeterminal(); //Using ioctl draw(); …
adsf
  • 59
  • 5
2
votes
2 answers

How to create Node.js TUI app in full screen mode like Vim

I'm creating a console app with Node.js which is going to have a TUI (Text User Interface). But I want to run it in a full screen mode inside the terminal (I don't know if it's the correct way to say it) instead of just printing stuff in the same…
Bawbak
  • 87
  • 5
2
votes
2 answers

Textual (python) - how to add click event in simple Text object?

I'm trying to get it so I can add links in text rendered by Textual. My text may have multiple links, for example: Hello [@click=hello]World[/] there, how are you? This is a test of [@click=more] more info[/] being clickable as well. In this simple…
Brad Parks
  • 66,836
  • 64
  • 257
  • 336
2
votes
1 answer

Nested-generics arguments in struct Rust

i am writing a program that uses text user interface, and i moved TUI functionality into the separate module, which contains a struct with TUI logic/variables. So the declaration of struct is : struct App<'a, T: io::Write> where T: io::Write, { …
2
votes
0 answers

GDB TUI mode not showing breakpoints

Even when I start GDB with --nx to ensure no configuration file is messing something up somewhere, the TUI mode simply does not display breakpoints. I enable TUI mode via the --tui CLI flag, and then set breakpoints using break
tronje
  • 21
  • 1
2
votes
1 answer

C: How do i go about gaining access to a full terminal window on a *nix system

I am planning on writing a command line text editor in C for a *nix system similar to nano or vim but I am stuck on how I would go about getting access to the entire terminal window so the user can move around the text editor freely, do I need to…
2
votes
0 answers

Proper way to update a TextView in Rust's Cursive library

I'm currently working on writing up a tui for a server application in a personal project, and I picked the cursive library to do it. I have run into a problem with a component of my application that is supposed to serve as the server's console…
Katherine1
  • 195
  • 1
  • 2
  • 14
2
votes
1 answer

In urwid 'Frame' object has no attribute 'rows'

I am searching any simple way to make urwid.Frame work in python without success, as example, I try this MWE: frame = urwid.Frame(urwid.Text(('some text'), align='center')) filler = urwid.Filler(frame, "top") loop =…
fauve
  • 226
  • 1
  • 10