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

Screen get "jumbled" with empty lines on the bottom after a while #105

Open
finsterwalder opened this issue Nov 9, 2023 · 3 comments
Open

Comments

@finsterwalder
Copy link

I run mprocs in an iTerm2 window on a Mac.
And I leave it running for long periods, doing standby in between etc.
From time to time (could not yet figure out what might cause it), the screen gets jumbled.
I looks like someone entered a lot of newlines at the end of the screen, pushing the screen up about half way.
When you move around the UI, the parts that change are redrawn, but some parts just stay broken.
e.g. the list of processes re-appears one by one, when you move up or down with the cursor. Since that triggers a redraw of the right side, the Terminal area is redrawn as well. When you switch with Ctrl-A, some of the Help is redrawn.

To mitigate the problem, it would be nice to simply have a "redraw screen" hotkey.

@pvolok
Copy link
Owner

pvolok commented Nov 10, 2023

Thanks for the report. I hope we can track the problem. If you will notice any other clues, please let me know.

Currently, full redraw can be triggered by resizing terminal.

As for the "redraw screen" command, I don't think it's worth adding a binding by default, because hopefully it should never be needed. But I am planning to add a command menu with search, similar to Emacs or VSCode. So we can have the command but not bind it by default.

@finsterwalder
Copy link
Author

Not binding by default sounds reasonable. I could define a custom shortcut if I wanted to.

@danielnorberg
Copy link

I'm unable to trigger a full redraw by resizing the terminal. Using mprocs v0.6.4. Is this expected behavior?

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

No branches or pull requests

3 participants