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

How to scroll a window (other than stdscreen) in ncurses?

I saw this answer researching to solve my problem https://stackoverflow.com/a/8407120/2570513, but, it works only on stdscreen. I implemented this: #include int main(void) { int i = 2, height, width; WINDOW *new; …
Mario Gil
  • 493
  • 1
  • 5
  • 14
4
votes
1 answer

Using a PTY without a command

I opened an issue in creack/pty for this question, but I actually think it probably belongs here as it's probably more to do with my usage of the library than anything wrong with the library. I am using a websocket api that sends stdin messages and…
robinovitch61
  • 167
  • 2
  • 9
4
votes
1 answer

TUI working on cmd line but not in mintty

I just tried to get tui up and it said: Cannot enable the TUI when output is not a terminal Which I though was odd because I thought I had it up before. Turns out it worked when I was using cmd but doesn't work using mintty.exe. The bash shell…
Adrian
  • 10,246
  • 4
  • 44
  • 110
4
votes
2 answers

IDE which uses a textual user interface ( like ncurses)

are there any IDEs which run in a shell instead of a gui. As i really don't like to use a mouse (except of scrolling, everything is faster for example in firefox using shortcuts). I really like textual user interfaces (like gdb in tui mode) and it…
rob
  • 345
  • 1
  • 5
  • 13
4
votes
2 answers

How to make Rust cursive's examples work on Windows?

Rust cursive is a Rust TUI framework. It states that you can switch backends and some of which are Windows supported. However, I can't make it work. When I run the following command (grabbed from here) I got an error: $ git clone…
Just a learner
  • 26,690
  • 50
  • 155
  • 234
4
votes
1 answer

Go TUI programming using TCell API

I am trying to learn TUI programming in Go using the TCell API. It is a simple app that print word "hello". However, when I run the program below, nothing happens. Please tell me what I am doing wrong. package main import ( "fmt" …
phage
  • 584
  • 3
  • 17
4
votes
1 answer

How to search a file opened in TUI mode of GDB

I have a file that is several thousand lines long opened in TUI mode of gdb. I would like to search the file for a variable, is that possible? Because the file is long, I am really trying to avoid hunting for the word manually.
The Vivandiere
  • 3,059
  • 3
  • 28
  • 50
4
votes
1 answer

Urwid horizontal menu - return to previous state or restart loop

I'm building an app based on the Horizontal Menu example from Urwid. I have an item that I want to show some information. I have an "OK" button underneath, and I want it to either pop the menu back to the previous state, or maybe restart the entire…
Arnon
  • 2,237
  • 15
  • 23
4
votes
2 answers

Need some tutorial links abut TUI in Console application in C

I want to make a console based application like Norton Commander in C. I don't have problems with writing the core. I neet some tutorials about how to make a TUI in windows console (using windows.h). I need it to be something like this:
The Pianist
  • 546
  • 2
  • 13
  • 23
4
votes
1 answer

ANSI Escape Sequences Fail in Cygwin

I am trying to create a 'drop down menu' for a CLI program using ANSI escape sequences in Python 2.7.2. I use ANSI escape sequences to change the 'options' to red and display them below the input line, then afterwards clear them. I am able to run…
paulski
  • 318
  • 1
  • 7
3
votes
1 answer

Emulate a taller terminal within GNOME Terminal and pan up and down

The problem: I need to be able to run TUI programs that do no fit in a 9-line high terminal inside a nine-line terminal by panning up and down. The set-up: I have a Raspian computer connected to a 9-line Braille display (Canute 360). The Braille is…
Ed Rogers
  • 75
  • 5
3
votes
1 answer

Rust termion crate: how to clear a single character?

I'm trying to implement a simple text editor using the termion crate. When the user presses Backspace, I'd like to erase a single character - but I can't figure out how to achieve that. The crate seems to only offer these options: AfterCursor …
ilmoi
  • 1,994
  • 2
  • 21
  • 45
3
votes
0 answers

How to update the contents of a TextView in a Flex with tview

I'm using tview to make my TUI application. The app uses TextView in Flex, but I can't change the contents of that TextView. The specific code is as follows. package main import ( "fmt" "github.com/rivo/tview" ) func main() { app :=…
a.kitazawa
  • 53
  • 4
3
votes
0 answers

How to add navigation keys to tview?

In my app, I want to change focus between my lists based on short keys. The demo gif shows it at the bottom, but I can't find any reference to it in the API. I can implement a SetInputCapture function on the Application instance, but it doesn't show…
vcmkrtchyan
  • 2,536
  • 5
  • 30
  • 59
3
votes
1 answer

RGB Terminal Colors with Haskell and Brick

I know that the Brick and the VTY hackage do not support escape sequences. VTY only supports 240 colors. Is there any workaround to use true RGB colors and not mess up the layout? This is an example I made, but I can't get the border right: module…
birneee
  • 623
  • 4
  • 10
1 2
3
13 14