[−][src]Module meli::terminal
Terminal grid cells, keys, colors, etc.
Modules
ansi | Create a |
boundaries | |
braille | |
cells | Define a (x, y) point in the terminal display as a holder of a character, foreground/background colors and attributes. |
color | |
embed | |
keys | |
position | Simple type definitions and macro helper for a (x,y) position on the terminal and the areas they define. |
text_editing |
Structs
Attr | The attributes of a |
BoundsIterator |
|
BracketModeEnd | Empty struct with a Display implementation that returns the byte sequence to end Bracketed Paste Mode |
BracketModeStart | Empty struct with a Display implementation that returns the byte sequence to start Bracketed Paste Mode |
BraillePixelIter | Iterate on 2x4 pixel blocks from a bitmap and return a unicode braille character for each
block. The iterator holds four lines of bitmaps encoded as |
Cell | A single point on a terminal display. |
CellBuffer | An array of |
DisableMouse | Ps = 1 0 0 2 ⇒ Don't use Cell Motion Mouse Tracking, xterm |
DisableSGRMouse | Ps = 1 0 0 6 Disable SGR Mouse Mode, xterm. |
EnableMouse | Ps = 1 0 0 2 ⇒ Use Cell Motion Mouse Tracking, xterm |
EnableSGRMouse | Ps = 1 0 0 6 Enable SGR Mouse Mode, xterm. |
FormatTag | |
RestoreWindowTitleIconFromStack | Restore window title and icon from terminal's title stack. |
RowIterator | Use |
SaveWindowTitleIconToStack |
|
ScrollRegion | In a scroll region up and down cursor movements shift the region vertically. The new lines are empty. |
UText |
Enums
Alignment | |
Color | The color of a |
InputCommand | Main process sends commands to the input thread. |
Key | |
MouseButton | A mouse button. |
MouseEvent | A mouse related event. |
WidgetWidth |
Constants
BRACKET_PASTE_END | |
BRACKET_PASTE_START |
Functions
align_area | Place given area of dimensions |
center_area | Place box given by |
change_colors | Change foreground and background colors in an |
clear_area | Completely clear an |
copy_area | Copy a source |
copy_area_with_break | |
create_box | Puts boundaries in |
get_events | The thread function that listens for user input and forwards it to the main event loop. |
get_x | |
get_y | |
place_in_area | Place box given by |
pos_dec | |
pos_inc | |
set_x | |
set_y | |
write_string_to_grid | Write an |
Type Definitions
Area | An |
Pos | A |