tui::configuretui
Gives or sets the size of the grid of cells of the test backend.
tui::configure ?-size {COLS ROWS}?
Description
The size is 1 to 1,000 cells on each side; 80 by 24 at the start.
Returns
With no option, a list of the options and their values; else an empty string.
Examples
% tui::configure -size {40 10}; tui::configure
-size {40 10}
Errors
% tui::configure -size {0 10}
bad size "0 10": must be 1 to 1000 cells
-errorcode ZTCL TUI VALUE
Facts
- Capability
tui. A new interpreter does not have it until the host turns it on.- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztcl 1.0.0-beta.7
The full page: tui::configure.