This is zed commit 58826 adapted for gram, written originally by smitbarmase: https://github.com/zed-industries/zed/pull/58826 .
It fixes issue 248 where a keybind executing a copy and subsequent paste will sometimes lead to a hang.
These cases are now caught and lead to a 4second halt. That means it is still not perfect (the paste can overtake the copy somehow is how I explain it to me right now) but much better now. I tested it on my machine, it worked fine.
Let me know if there are any questions, comments left :) Thank You!
This is zed commit 58826 adapted for gram, written originally by smitbarmase: https://github.com/zed-industries/zed/pull/58826 .
It fixes [issue 248](https://codeberg.org/GramEditor/gram/issues/248) where a keybind executing a copy and subsequent paste will sometimes lead to a hang.
These cases are now caught and lead to a 4second halt. That means it is still not perfect (the paste can overtake the copy somehow is how I explain it to me right now) but much better now. I tested it on my machine, it worked fine.
Let me know if there are any questions, comments left :) Thank You!