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

'Esc-M' chars scrolling back in 'less' #621

Open
FRomanMF opened this issue Mar 28, 2022 · 3 comments
Open

'Esc-M' chars scrolling back in 'less' #621

FRomanMF opened this issue Mar 28, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@FRomanMF
Copy link

Looking at a file with 'less' in a Linux session, if I scroll down and then back up, 'Esc-M' characters appears at beginning of some lines. I didn't catch exactly the cases, but they are related to lines with a hash ('#') and then some empty line.

For example:

  1. Execute 'less /etc/services'.
  2. At the beginning of file there are some lines with comments (they have a '#' at the left side).
  3. Scroll down with the cursor key so the comment lines disappear.
  4. Scroll back. The comment lines appears again and some of them has a 'Esc-M' at the beginning overlaping other characters.

image

And this is how it should look:
image

Cheers!

@kingToolbox
Copy link
Owner

Thank you for such a detailed description that I can reproduce this bug very easily. I will fix it in WindTerm_2.4.0_Prerelease_2 and WindTerm_2.4.0_Prerelease_3, please stay tuned.

@kingToolbox kingToolbox self-assigned this Mar 29, 2022
@kingToolbox kingToolbox added the bug Something isn't working label Mar 29, 2022
@kingToolbox
Copy link
Owner

I am happy to inform you that WindTerm_2.4.0_Prerelease_2 has been released and this issue has been fixed. Please download and check it. If there are still bugs, please let me know, thank you.

@FRomanMF
Copy link
Author

FRomanMF commented May 3, 2022

I'm afraid that in version 2.4.1 it works better but it's not perfect :(

Using /etc/services in Linux as an example, if you open the file with 'less' (as I wrote in the first post) it looks good. If you scroll down and then up, there isn't 'Esc-M' characters as in previous versions. But there is empty lines missing.

Screenshots with file just opened:
image

Screenshot after a scroll down and up again:
image

Hope to help ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants