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

weird output overwrite #12

Open
Rudxain opened this issue May 23, 2024 · 3 comments
Open

weird output overwrite #12

Rudxain opened this issue May 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Rudxain
Copy link
Owner

Rudxain commented May 23, 2024

This is hard to reproduce and explain. Sometimes, the output of a command/completion overwrites the "real" text in the terminal, showing text outside the prompt that isn't editable (as if it were stdout). Sometimes, even the prompt becomes editable.

To temporarily patch this, I simply delete all chars until the cursor stops moving, then run cls.

I thought this was an issue with readline and therefore caused by .inputrc. But now I'm not so sure.

This may be related to #4

@Rudxain Rudxain added the bug Something isn't working label May 23, 2024
@Rudxain
Copy link
Owner Author

Rudxain commented May 23, 2024

It's definitely not .inputrc alone. It's not .sh/exports, nor .bash_prompt. (all tested on Termux)

I'm suspecting it may be a problem with sourcing "duplicate" completions

@Rudxain
Copy link
Owner Author

Rudxain commented May 23, 2024

@Rudxain
Copy link
Owner Author

Rudxain commented May 23, 2024

f08b4f3 partially fixes this

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

1 participant