Skip to content
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

In forced med rez the number of columns reverts to 40 after a shell cmd #1

Closed
simonlaszcz opened this issue Jun 29, 2024 · 1 comment

Comments

@simonlaszcz
Copy link
Owner

simonlaszcz commented Jun 29, 2024

If you start in low rez then switch to st-med using the cmd "rez st-med"
and then issue a shell cmd, e.g. "! mem"
after returning from the shell cmd the number of columns has switched to 40

workaround: switch to low rez then back to med

This may also apply to other resolutions and vim features

@simonlaszcz
Copy link
Owner Author

After executing a shell command, vim checks the current shell size. We always got the size from the env vars, but if the resolution is changed this will be wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant