GUI Console Applications

What do GUIs look like in console applications?

There are many examples, such as alsamixer: alt text

+5
source share
5 answers

Libraries such as Curses do this in the same way that window managers work with graphical environments. Controls, such as windows, buttons, check boxes, are defined by the library.

Instead of WriteLining on the screen, you write text in a window or set the text of some control. The library tracks windows, overlays, border effects, shadows, drag and drop behavior (if the mouse is supported). It creates a buffer of character symbols, foreground and background colors.

goto (x, y) , , . , - , , , .

, , , ( ) - .

, .Net Console... [Sigh] , .

+1

Curses. NCurses - Curses.

+4

, goto (x, y), - .

"" / ascii, .

+2

Termbox - ncurses, .

+2

DOS API- GUI, , Windows, VGA, , . TurboPascal Foxpro. , , Visual Basic DOS, API. API , , . "Windows" , .

VGA Text ( , /), , GDI ( , , -, ). - .

Unix, , Curses, API, .

+2

All Articles