-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Freezes when pasting a string that includes a line breaks #4216
Comments
ddd.mp4Maybe, 943d78f is no effects for this issue for me. |
@ShortArrow The reason why #4234 doesn't work for you is that you're on Windows, and handling the bracketed paste events from the terminal is not supported yet by the tcell library on Windows. I'll look into whether this can be added, and make a PR in tcell if so. But I see this as independent from #4234, and I don't want this to hold up merging that one as it's already an improvement for Mac and Linux users. |
@stefanhaller Based on your information, it looks like this is unrelated to #4234. It's probably the tcell bug you mentioned. In that case, I think it's better to leave this issue and merge it. |
Describe the bug
In Commit message mode,
Pasting text with multiple line breaks causes the lazygit to freeze.
There seems to be no solution other than quitting the terminal emulator.
To Reproduce
Steps to reproduce the behavior:
ctrl
+shift
+v
OK sample
NG sample
Expected behavior
If there are two line breaks at the end of the first line,
it has the same effect as tab and the remaining text is pasted into the commit description.
Tried
I tried it in the following environment, but the symptoms are the same:
Version info:
lazygit
git
Additional context
config https://github.com/ShortArrow/dotfiles/blob/develop/lazygit/config.yaml
logs
The text was updated successfully, but these errors were encountered: