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

First letter is repeated #2

Open
Moosems opened this issue Apr 17, 2024 · 3 comments · May be fixed by #4
Open

First letter is repeated #2

Moosems opened this issue Apr 17, 2024 · 3 comments · May be fixed by #4

Comments

@Moosems
Copy link

Moosems commented Apr 17, 2024

Screen.Recording.2024-04-17.at.3.36.26.PM.mov
@tomlin7
Copy link
Owner

tomlin7 commented Apr 18, 2024

Can't say much unless #1 is resolved

@tomlin7 tomlin7 linked a pull request Apr 18, 2024 that will close this issue
@Moosems
Copy link
Author

Moosems commented Apr 18, 2024

The letter repetition is ANSI being removed?

@tomlin7
Copy link
Owner

tomlin7 commented Apr 19, 2024

@Moosems I think so. On <Return>, the text since last output is considered as new input and written to the stream, then that part is removed from the text widget. The next output read will contain the entered command as well (hence I had to remove it from editor, so that it won't be shown twice). See below:

https://github.com/billyeatcookies/mono/blob/2e89a388be49b26d501351bdde3f57b9e9142163/mono/terminal.py#L97-L107

You can try removing code for the removal of command and running that to see if there are any changes. As of now, I can't reproduce this error yet in Windows. Also is this an issue caused only with clear command?

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

Successfully merging a pull request may close this issue.

2 participants