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:

143 questions
59
votes
4 answers

How can I scroll back in GDB's command window in the TUI mode?

Suppose that (gdb) print *this resulted in 20 lines of output. Yes, there would be Type to continue, or q to quit, but I'd like to scroll back to the top after I got to the bottom of the output. I don't think…
nodakai
  • 6,891
  • 3
  • 24
  • 51
24
votes
8 answers

What's the best way to get text user-interfaces (ncurses-like) functionality in Java?

I need to implement a console application (possibly in Java) with ncurses-like functionality (such as navigating a menu and redrawing the whole screen). The only solutions that I can find to do this so far are CHARVA ("A Java Windowing Toolkit for…
Anthony
  • 393
  • 1
  • 2
  • 6
21
votes
2 answers

How to automatically refresh gdb in tui mode?

If I'am debugging files with gdb -tui the source window always becomes messed up. So every time I hit enter I have to immediately type ctrl+L to get rid of this problem, this is how gdb refeshes the window. I am working on tty with gnu screen. Is…
John Goofy
  • 980
  • 1
  • 6
  • 19
19
votes
4 answers

Cannot leave tui mode with Ctrl-X A nor see program output in tui mode

Problem A: I start gdb in command line with "gdb test" I press ctrl-x,ctrl-a before I do anything else Then I set break point using "b main" Then I start running the program using "r" Till this point, if I press the Up arrow key the src window…
neuron
  • 1,676
  • 1
  • 18
  • 24
19
votes
10 answers

How do I make a command line text editor?

I have gotten to know my way around a few programming languages, and I'd like to try my hand at making a command-line text editor -- something that runs in the terminal, like vim/emacs/nano, but is pure text (no guis, please). Preferably, I'd like…
So8res
  • 8,944
  • 8
  • 46
  • 82
19
votes
1 answer

How to make the gdb tui window bigger

I am debugging my application by using gdb in tui mode. When I start my debugging session the main windows is split in 2 equal-sized parts. the window with the source code (upper side) the window where I can call gdb commands (lower side) The 2…
Abruzzo Forte e Gentile
  • 13,055
  • 24
  • 87
  • 163
17
votes
2 answers

Are there any text user interfaces (TUI/ncurses) frontends for mercurial and git?

I am looking for a TUI (text user interface) for mercurial and git? I need a solution for both, but not necessary the same.
sorin
  • 137,198
  • 150
  • 472
  • 707
14
votes
4 answers

Interrupt (n)curses getch on incoming signal

One of my programs uses ncurses for drawing a small tui. One of my goals is to make it rather portable to other curses implementations. This means that I want to catch a SIGWINCH issued by the terminal emulator on a resize operation myself and…
user1678062
  • 563
  • 4
  • 15
9
votes
1 answer

How to use colors in GDB with TUI or CGDB?

I set a color for the GDB prompt by adding this line to ~/.gdbinit: set prompt \033[0;32m(gdb) \033[0m This works fine in GDB, until I open the TUI. It then discards the colors and shows the raw color codes. The same thing happens if I use…
Ashwin Nanjappa
  • 68,458
  • 72
  • 198
  • 283
8
votes
2 answers

Highlighting and Selecting text with Python curses

This is my first post to stack overflow. I've been lurking this site for information for years, and it's always helpful, so I thought that I would post my first question. I've been searching for some similar examples, but can't seem to find…
Neal
  • 281
  • 2
  • 10
8
votes
1 answer

Perl6 Terminal::Print how to prompt the user for input text?

I'm using the Perl6 Terminal::Print module for a console based application. It's working well - however, now I need to prompt the user for a string of text. What's a good way to do this?
user2145475
  • 325
  • 1
  • 9
8
votes
3 answers

Python TUI libs

I'm writing a small sudoku game/solver in Linux using python with TUI (not GUI, that's just lame) just for fun. My question is, which lib is better (by that I mean easier to handle, better support, more straight-forward and understandable), the…
lllluuukke
  • 1,188
  • 1
  • 11
  • 16
7
votes
1 answer

Drawing a line that's always as wide as its parent BoxElement?

I'm using a BoxElement from blessed to display a chat history. Sentences are added using pushLine. For clarity, days are divided by lines (another string added using pushLine). Each line is as wide as the parent BoxElement. If the TUI is resized…
Martin Cowie
  • 3,208
  • 6
  • 36
  • 71
7
votes
8 answers

GUI/TUI linux library

Is there any UI library that can be to build both a text user interface (ncurses) and graphical user interface (GTK? QT?) from the same source? I know that debconf can be used with various frontends, I would like to build something similar but…
Penz
  • 4,630
  • 4
  • 26
  • 26
7
votes
2 answers

Python Terminal/Text UI (TUI) library

How can I make a console GUI (more appropriately called TUI) ? It's important to note that I will be changing the text in some of the spots, and this is why I can't have it just print to the screen. It would be fine to use other modules, but I'd…
evamvid
  • 771
  • 4
  • 15
  • 36
1
2 3
9 10