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
Is there a chance of getting expose the x and y values from winsize?
Those are used by terminals to tell the width and height in pixels, that can in turn be used with rows and cols to get the dimensions of a cell in pixels, which is incredibly useful when dealing with sixels.
I looked at the Windows documentation and I'm not sure there's a way to get the same on it.
A good alternative would be to expose them as Option<u16> since some terminals set those values to 0, which would make it simple to behave optionally on them.
The text was updated successfully, but these errors were encountered:
Is there a chance of getting expose the
x
andy
values fromwinsize
?Those are used by terminals to tell the
width
andheight
in pixels, that can in turn be used withrows
andcols
to get the dimensions of a cell in pixels, which is incredibly useful when dealing with sixels.I looked at the Windows documentation and I'm not sure there's a way to get the same on it.
A good alternative would be to expose them as
Option<u16>
since some terminals set those values to0
, which would make it simple to behave optionally on them.The text was updated successfully, but these errors were encountered: