-
Notifications
You must be signed in to change notification settings - Fork 52
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
在命令行中粘贴部分文字时,应用存在自动退出的问题。 #32
Comments
调试了一下,应该是 bubbletea 的 bug,粘贴字节长度超过 256 个的字符程序就会 exit:charmbracelet/bubbletea#668 他们应该是已知这个问题,暂时我这边没有很好的解决办法。 |
或许可以直接监听ctrl+shift+v,然后绑定对应的事件,然后代码侧从clipboard里面拿内容填充 |
而非让终端处理该事件 |
确实是个好方法,不过对于 bubbletea 应用, 另外,我还在 #46 中增加了 |
bubbletea v0.25.0 修复了这个问题,我发布了 v1.3.2 ,应该修复了这个问题。 |
当在命令行中粘贴如:我要你扮演一个侏儒。你会为我提供可以在任何地方进行的活动和爱好的有趣、独特的想法。例如,我可能会向您询问有趣的院子设计建议或在天气不佳时在室内消磨时间的创造性方法。此外,如有必要,您可以建议与我的要求相符的其他相关活动或项目。我的第一个请求是“我正在寻找我所在地区的新户外活动”。
![image](https://user-images.githubusercontent.com/92361802/227216111-39a12f7f-0c53-4cd4-bb5a-1f58932ff998.png)
的问题应用闪退。
The text was updated successfully, but these errors were encountered: