player/command: add term-size/[w,h] property

There was no way for scripts to know the current size of the terminal,
which is essintial if they want to provide a good user experience even
without a window.
This commit is contained in:
Christoph Heinrich
2024-03-21 03:08:52 +01:00
committed by Kacper Michajłow
parent 0230a0c25a
commit 0c8f3bc73c
3 changed files with 33 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
add `term-size` property