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
0 answers

Get Key state C++ Linux

I have a small game which requires 4 Keys: 2 Keys to move the Player to the left/right, 1 Key to accelerate horzontal movement (dash key), and 1 Key to move vertically faster. You can find the current project at…
JoLi
  • 33
  • 5
1
vote
1 answer

Show popup in markdown after '@' sign to search for users

I'm trying to recreate functionality from Gitlab to show users list after writing '@' sign. Currently I'm trying to add it to Tui Editor (using Vue). I know how to listen for key up and add it as Widget, but it has a few…
Smuggo
  • 91
  • 1
  • 7
1
vote
2 answers

Getting current time during a BrickEvent Haskell

I'm relatively new to Haskell, and I'm trying to build a terminal user interface with brick. I'd like to record a timestamp every time a user input is given. To do this I wrote the following functions: handleInputEvent :: TestState -> BrickEvent n e…
1
vote
1 answer

Tui-rs: flickering when drawing multiple widgets

Good evening! I'm trying to write a very simple terminal application that draws two textboxes on screen, accepting input on one and showing output on the other, using Rust and tui-rs. The first part works perfectly, but my problems arose when i…
quartztz
  • 23
  • 3
1
vote
0 answers

I want to have a blog text editor in my Nuxt SSR application but it does not appear and gives an error, I am using @tui-nuxt/editor

I have a problem with @tui-nuxt/editor I am following all the steps on this web page https://github.com/tui-nuxt/editor but I get this error: Does anyone know what can I do?
1
vote
0 answers

How to switch screens in a rust tui app (termion + tui-rs)

I have a tui app where a user is presented with some choices through a list. Once they navigate to the choice they want and hit enter I'd like to take them to the "next" screen. It's more complicated than just clearning existing text and printing…
ilmoi
  • 1,994
  • 2
  • 21
  • 45
1
vote
0 answers

Can I create a "multi-windowed" command-line Python program?

I'm doing some experiments with TensorFlow on my new computer, and I'm very satisfied with the results so far so I decided to turn one of them into a fully-fledged CLI program. It's a machine learning model that tries to predict the course of…
WalrusGumboot
  • 372
  • 2
  • 16
1
vote
1 answer

【The editor is used within the VUE】I cannot use v-model to bidirectional bind text in the Editor. I cannot get the text in the Editor

When I use the tui. Editor, I cannot use the V-Model binding value in the VUE, it has no effect script data() { return { ruleForm: { title:…
zzzyuan
  • 11
  • 1
1
vote
0 answers

The gdb is shows 0xc0000142 error, it is not running too, please help me out

I have recently installed gdb from Mysys2. However it isn't functioning properly. When I try to use gdb for debugging I am having this error as seen in the pic. I am not able to debug, and inputting is also not possible. Please help me out…
Athul Das
  • 11
  • 1
  • 2
1
vote
1 answer

Does rust-tui provide any mouse functionality above Termion?

Rust TUI provides things like tabs and widgets. But they can't be clicked on. Termion supports this. Is there anyway to get click events to work in rust-tui's widgets? Some other toolkits like blessed.js support this too. I grepped the source code…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
1
vote
0 answers

Reading user input using UniCurses for Python

How do I properly read user input using unicurses? I am using wgetstr to read in user input, but how would I go about making sure that the input does not flow over to the next line. The input should just stop when the last character reaches the end…
it2901
  • 69
  • 8
1
vote
0 answers

Throwing from destructor behavior varies with and without TUI

I have modified the following Effective C++ item 8: Prevent Exceptions from leaving destructors so that there are not two exceptions propagating and hence a crash/UD is not expected here: #include class Bad { public: ~Bad() …
anurag86
  • 1,635
  • 1
  • 16
  • 31
1
vote
2 answers

Does the python library "urwid" contain a widget for reading in dates (datepicker)?

npyscreen has the widgets "DateCombo" and "TitleDateCombo" for picking dates. Is there anything similar in urwid? If not, are there any recommended third-party libraries? Here is an example which uses npyscreen: #! /usr/bin/env python3 # -*-…
AFoeee
  • 731
  • 7
  • 24
1
vote
1 answer

How to make a text-based interface (TUI/TLI) for monitoring OpenFOAM solver log file?

I'm running OpenFOAM simulations on a cluster and they take days to finish. I am looking for a way to monitor the process and get some meaningful insights. What I can do for the moment is to watch the tail of the log file using watch tail -n 15…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
1
vote
2 answers

What is a good way to organize commands for a command line interface?

I'm having trouble creating clear and concise code that allows me to make a variety of commands to do a variety of different things. So for example, in an N-body simulator I am working on, the functionality that I want is that the user can enter a…
Brendan M
  • 51
  • 1
  • 4