Issues with Ctrl+Q to quit

未关闭
#3,950 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
go
领域
cli

调研方向

Issue 中没有提到文件或测试。首先在所报告的基于 Web 的终端中复现 Ctrl-Q,然后检查 micro 现有的键绑定和命令行配置行为。完成的标准应是用户可以在该环境中退出 micro,并且可以覆盖或自定义相关操作,而不会干扰终端或浏览器。

由索引模型根据 Issue 内容生成。

描述

Hi,

OK so I ran into an issue. I installed micro on my NAS, and when I ssh into the system from my computer's terminal, it works perfectly as expected.

However, all NAS programs are web-based, and when I access micro through the NAS's web-based terminal, and I press Ctrl+Q, firefox thinks that i'm trying to close the web page completely and it overrides micro's shortcut. As such, in this web-based terminal, there is no way to quit micro once it is opened.

One way to fix this would be to change the ctrl-q to ctrl-x as it is in nano, which doesn't interfere. The best solution, however, would probably be to implement some sort of way to override and customize the default action keys via command line so that each user could customize it to his own needs.

主要语言
Go
星标
29.8k
派生
1.4k
平均合并
1 天 12 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

micro-editor/micro 的其他 Issue

查看 micro-editor/micro 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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