HomeManualTopicsTypesSymbols

std::update_terminal

create a command sequence to update the terminal

Parameters

terminal
the terminal to be updated
do_log (default: false)
log updates to

Results

None

Description

This functions updates the terminal object and returns an ANSI-command sequence that can be used to update the terminal.

Example

get_terminal_size! STDIN_FILENO $width $height create_terminal $terminal width height draw_text &terminal 10 5 "Hello, world!" update_terminal &terminal $output print! output

Topic

Terminal