[GH-ISSUE #3047] 本地模式下打开的nano编译器无法输入"【" 和 "】" #2012

Open
opened 2026-02-27 00:05:42 +03:00 by kerem · 4 comments
Owner

Originally created by @winter110 on GitHub (Oct 23, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/3047

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.34.30-linux-amd64.deb

Platform detail (平台详情)

deepin linux v23 beta2

What steps will reproduce the bug?(重新问题的详细步骤)

  1. git设置默认编辑器为nano,打开一个本地窗口,定位到任意git项目根目录
  2. 使用git commit命令提交代码,自动打开了nano编辑器编辑提交信息
  3. 此时可以输入中文和英文,只是目前发现中文状态下的中括号(【 】)无法输入,实际显示为英文状态下的[和],在windterm和系统自带终端下正常,在tabby下和electerm现象一致

What should have happened?(期望的结果)

能正常输入中文状态下的【】,因为公司的git提交规范里必须使用中文下的【】

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

tabby上可以复现该问题,windterm和操作系统自带终端上不存在该问题

Additional information(其他任何相关信息)

输入法是fcitx5,版本号是5.0.23-0deepin2

Originally created by @winter110 on GitHub (Oct 23, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/3047 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.34.30-linux-amd64.deb ### Platform detail (平台详情) deepin linux v23 beta2 ### What steps will reproduce the bug?(重新问题的详细步骤) 1. git设置默认编辑器为nano,打开一个本地窗口,定位到任意git项目根目录 2. 使用git commit命令提交代码,自动打开了nano编辑器编辑提交信息 3. 此时可以输入中文和英文,只是目前发现中文状态下的中括号(【 】)无法输入,实际显示为英文状态下的[和],在windterm和系统自带终端下正常,在tabby下和electerm现象一致 ### What should have happened?(期望的结果) 能正常输入中文状态下的【】,因为公司的git提交规范里必须使用中文下的【】 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) tabby上可以复现该问题,windterm和操作系统自带终端上不存在该问题 ### Additional information(其他任何相关信息) 输入法是fcitx5,版本号是5.0.23-0deepin2
Author
Owner

@zxdong262 commented on GitHub (Oct 23, 2023):

git commit -m "【】"能输入成功吗?

<!-- gh-comment-id:1774920741 --> @zxdong262 commented on GitHub (Oct 23, 2023): git commit -m "【】"能输入成功吗?
Author
Owner

@winter110 commented on GitHub (Oct 24, 2023):

git commit -m "【】"能输入成功吗?

也是无法输入

<!-- gh-comment-id:1776314441 --> @winter110 commented on GitHub (Oct 24, 2023): > git commit -m "【】"能输入成功吗? 也是无法输入
Author
Owner

@zxdong262 commented on GitHub (Oct 24, 2023):

怎么关闭了呢?请问解决了吗?

<!-- gh-comment-id:1776420369 --> @zxdong262 commented on GitHub (Oct 24, 2023): 怎么关闭了呢?请问解决了吗?
Author
Owner

@winter110 commented on GitHub (Oct 24, 2023):

怎么关闭了呢?请问解决了吗?

不好意思没注意点错了,问题没解决

<!-- gh-comment-id:1776463994 --> @winter110 commented on GitHub (Oct 24, 2023): > 怎么关闭了呢?请问解决了吗? 不好意思没注意点错了,问题没解决
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2012
No description provided.