akinsho / akinsho/toggleterm.nvim

[feature] Add a function to send keypress to the terminal

未关闭
#544 1 条评论 9 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Lua
星标
5.6k
派生
206
PR 合并指标
30 天内没有已合并 PR

描述

we need a way to send keypress to terminal..... some users might want to send ctrl+c(keyboard interupt) to the terminal, specifically with code-runners that use toggle-term to run code.... to stop execution

https://github.com/akinsho/toggleterm.nvim/assets/145671529/7fe03dfa-4f41-4677-8880-7c7b74013337
video might a little out of point here, but the code-runners can infact benifit greatly from such a feature

there might be hacky ways to send ctrl+c, but those arent bullet proof method, so i am requesting a Feed keypress to terminal here

thanks in advance

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。