Closed shoober420 closed 3 years ago
This will still occur, but it takes substantially a lot more text of pasting to occur than previously.
@shoober420 maybe uploading some file that causes this?
I just compiled from the latest master (https://github.com/91861/wayst/commit/c993c79e088802395d4f15556a2ccf4920701ea6), and pasting lots of text in vim will still freeze wayst.
I have a crude way of testing. I simply copy a modest sized shell script, then spam paste it into vim holding down “Ctrl+Shift+V”. Plain Wayst at the CLI used to freeze as well doing this method (https://github.com/91861/wayst/issues/54), but is now resilient. However, doing this into vim still freezes wayst.
Could I actually be bugging out vim?
Could be, try pasting in nano or nvim. :)
It doesn’t freeze nano, although it keeps the text all on one line instead of scrolling down the screen like vim and the terminal. So I launched vi and did the test, and it did not freeze. This must be a bug with vim. Thank you for the tips.
When copying and pasting large amounts of text in vim, wayst will freeze. A sigkill is necessary to close wayst.
Here is the crash with an intentional wrong setting (g-fb-color="#0077f7") waystbug5.txt
Here is a crash with a good config. waystbug6.txt
Another one for good measure. waystbug7.txt