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
Pasting in a string that is 1043 characters during interactive text input causes repeats in prompt #560
Comments
Might be the same problem as in #557. |
This one is a killer for me, any updates? Any workarounds? Any hints on source (happy to contribute). |
I will take a look at it tomorrow. But it seems like our logic does not handle it well atm when the input is larger than one line. @MarvinJWendt correct me if I am wrong |
I was able to workaround this (short-term, not-ideal) by trim/padding each string going in to max terminal width - a buffer, so ya it seems like the root issue is pterm isn't handling text > terminal width. Staying tuned, thanks for the response! |
Pretty sure text larger than the terminal width is the issue because if you try to resize the terminal with the text shown in the screenshot above, it will redraw every line again and again without any additional input. |
Yes, the issue is, that we move the cursor around the terminal on key input. This is mainly done for the |
Hello! Any progress on this issue? |
I'm seeing this issue too. Like the others, it's mostly a cosmetic issue. |
When trying to input a very long string of characters, in this case a long JWT token. I'm getting repeated command prompts that show up. The good thing is that it allows me to get over the 1024 byte buffer limitation in the terminal but it's not very appealing to look at. Is it possible to fix this?
The text was updated successfully, but these errors were encountered: