textual.constants
This module contains constants, which may be set in environment variables.
COLOR_SYSTEM
module-attribute
¶
Force color system override.
DEVTOOLS_HOST
module-attribute
¶
The host where textual console is running.
DEVTOOLS_PORT
module-attribute
¶
Constant with the port that the devtools will connect to.
DRIVER
module-attribute
¶
Import for replacement driver.
ESCAPE_DELAY
module-attribute
¶
The delay (in seconds) before reporting an escape key (not used if the extend key protocol is available).
FILTERS
module-attribute
¶
A list of filters to apply to renderables.
LOG_FILE
module-attribute
¶
A last resort log file that appends all logs, when devtools isn't working.
MAX_FPS
module-attribute
¶
Maximum frames per second for updates.
SCREENSHOT_DELAY
module-attribute
¶
Seconds delay before taking screenshot.
SCREENSHOT_FILENAME
module-attribute
¶
The filename to use for the screenshot.
SCREENSHOT_LOCATION
module-attribute
¶
The location where screenshots should be written.
SHOW_RETURN
module-attribute
¶
Write the return value on exit.
SLOW_THRESHOLD
module-attribute
¶
The time threshold (in milliseconds) after which a warning is logged if message processing exceeds this duration.
TEXTUAL_ANIMATIONS
module-attribute
¶
Determines whether animations run or not.