aboutsummaryrefslogtreecommitdiff
path: root/modules/TUI
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-05-14 10:14:26 +0100
committerdam <dam@gudinoff>2024-05-14 10:14:26 +0100
commita5e4f8725d74c2dbc3df35249b6dbdd061e44997 (patch)
treef4e7fd6ea1f35a69140f77ae3b943692cb2a1846 /modules/TUI
parent92aa2605f7b62e3663bf6df88171c0d3613850ca (diff)
downloadtask-time-tracker-a5e4f8725d74c2dbc3df35249b6dbdd061e44997.tar.zst
task-time-tracker-a5e4f8725d74c2dbc3df35249b6dbdd061e44997.zip
Added note/documentation about allowWindowOps on xterm.
Diffstat (limited to 'modules/TUI')
-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);