-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can wslbridge2 return ws_xpixel and ws_ypixel? #44
Comments
I am not sure. @mintty may help with terminal related topics. |
Mintty provides these values when sending SIGWINCH. I think wslbridge could propagate them along with the cell size, where handling struct winsize. I may find some time occasionally to check but it's a change in wslbridge. |
We are setting the value of winp with recv, but can you achieve this by simply deleting the line that overwrites it with zero? |
Fixed in above PR. |
Thanks for taking this patch. Can you make it a release please, for easier integration in wsltty? |
Released v0.13. |
Sorry I didn't test before asking for a release. |
@mintty I rebuilt and run it on Cygwin.( It works, but it seems to be in a state where the prompt is not displayed until several Enter keys are pressed after wslbridge2 starts. Also, strangely, when I built and ran wslbridge2 v0.12, it terminated with an |
WSL V1: it hangs, blank terminal window |
The following sections set zero, but some terminals should be able to retrieve pixel-level size.
wslbridge2/src/wslbridge2-backend.cpp
Lines 275 to 276 in 5f444e6
wslbridge2/src/wslbridge2-backend.cpp
Lines 301 to 303 in 5f444e6
Is it possible to set these ws_xpixel and ws_ypixel and return them to the app?
The text was updated successfully, but these errors were encountered: