You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Set Width and Set Height instructions set the terminal width and height in pixels. However, vhs creates a terminal, and for a terminal the main metric for the size is how wide and hight it is in characters.
Is there a way to set the terminal size in terms of characters more directly (e.g. for the classical sizes 80x24 or 80x25)?
Right now, I see no better way to achieve that than by just playing around with the values for FontSize, FontFamily, Width, Height, Margin, Padding, and Type "tput cols; echo x; tput cols" Enter until it happens to result in the desired terminal dimensions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The
Set Width
andSet Height
instructions set the terminal width and height in pixels. However,vhs
creates a terminal, and for a terminal the main metric for the size is how wide and hight it is in characters.Is there a way to set the terminal size in terms of characters more directly (e.g. for the classical sizes 80x24 or 80x25)?
Right now, I see no better way to achieve that than by just playing around with the values for FontSize, FontFamily, Width, Height, Margin, Padding, and
Type "tput cols; echo x; tput cols" Enter
until it happens to result in the desired terminal dimensions.Beta Was this translation helpful? Give feedback.
All reactions