aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/TUI/module.jai1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/TUI/module.jai b/modules/TUI/module.jai
index 70675c7..fb742da 100644
--- a/modules/TUI/module.jai
+++ b/modules/TUI/module.jai
@@ -689,6 +689,7 @@ get_terminal_size :: () -> width: int, height: int {
}
// Some systems don't allow to query the terminal size directly... or the answer takes too much time.
// In such cases, measure it indirectly by the maximum possible cursor position.
+ // (e.g.: allowWindowOps/disallowedWindowOps properties in xterm)
else {
x, y := get_cursor_position();
defer set_cursor_position(x, y);