[GH-ISSUE #2348] 命令行中输入下划线时 不会正确显示 _ #1503

Closed
opened 2026-02-27 00:03:47 +03:00 by kerem · 2 comments
Owner

Originally created by @blankhang on GitHub (Jan 11, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2348

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version(版本号):

1.17.21

Operating system(linux, macos, or windows7/8/10?)(操作系统):

Ubuntu 20.04.3 LTS

Expected Behavior(期望的行为)

输入框应该能正确渲染显示 _ 下划线

Can you reproduce the same behavior in other terminal(是否能在其他同类软件中复现):

其他同类软件无此问题

Current Behavior(当前行为)

image
只要输入 _ 都会变成空格的效果

Possible Solution(可能的解决办法)

Steps to Reproduce(复现步骤)

  1. 新建带 _ 下划线的文件夹
  2. 只要输入 _

Context (Environment)(环境)

Detailed Description(详细描述)

Suggestions?(建议)

Originally created by @blankhang on GitHub (Jan 11, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2348 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version(版本号): 1.17.21 ## Operating system(linux, macos, or windows7/8/10?)(操作系统): Ubuntu 20.04.3 LTS ## Expected Behavior(期望的行为) <!--- Tell me what should happen --> 输入框应该能正确渲染显示 _ 下划线 ## Can you reproduce the same behavior in other terminal(是否能在其他同类软件中复现): <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> 其他同类软件无此问题 ## Current Behavior(当前行为) <!--- Tell me what happens instead of the expected behavior --> ![image](https://user-images.githubusercontent.com/3981276/148889527-bead9b1d-e104-4fc3-aff6-77d2a55bd9d1.png) 只要输入 _ 都会变成空格的效果 ## Possible Solution(可能的解决办法) <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce(复现步骤) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 新建带 _ 下划线的文件夹 2. 只要输入 _ ## Context (Environment)(环境) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description(详细描述) <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions?(建议) <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem closed this issue 2026-02-27 00:03:48 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jan 16, 2022):

可以设置里换个字体试试吗?

<!-- gh-comment-id:1013818752 --> @zxdong262 commented on GitHub (Jan 16, 2022): 可以设置里换个字体试试吗?
Author
Owner

@blankhang commented on GitHub (Jan 17, 2022):

找到问题原因了 应该是因为软件默认配置的字体 Ubuntu 中都没有 退回到了系统默认字体DejaVu导致的
建议添加 Ubuntu Mono 字体

<!-- gh-comment-id:1014067013 --> @blankhang commented on GitHub (Jan 17, 2022): 找到问题原因了 应该是因为软件默认配置的字体 Ubuntu 中都没有 退回到了系统默认字体DejaVu导致的 建议添加 Ubuntu Mono 字体
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#1503
No description provided.