icat kitten: Add a command line argument to override terminal window size detection

Fixes #7165

I had five minutes, so why not.
This commit is contained in:
Kovid Goyal
2024-02-27 23:06:10 +05:30
parent e9c4e73103
commit b8774327b6
3 changed files with 45 additions and 10 deletions

View File

@@ -72,6 +72,11 @@ The amount of time (in seconds) to wait for a response from the terminal, when
detecting image display support.
--use-window-size
Instead of querying the terminal for the window size, use the specified size, which must
be of the format: width_in_cells,height_in_cells,width_in_pixels,height_in_pixels
--print-window-size
type=bool-set
Print out the window size as <:italic:`width`>x<:italic:`height`> (in pixels) and quit. This is a