Shift+Backspace 正在写入复选标记符号?
我什至无法将 IDLE 解释器会话中的一个奇怪的复选标记字符复制并粘贴到此文本字段中...我正在运行 Linux Mint Julia,python 版本 2.6,但它也发生在 3.1 中。按住 shift
键并按 backspace
后会发生这种情况。
我尝试这样做:
>>> ord('[strange-checkmark]')
8
然后运行相反的操作:
>>> chr(8)
\x08'
我真的很想让这个奇怪的字符停止打印,而只是删除前一个字符。
我尝试在 gedit
、terminal
和 chrome
中重新创建这个字符。运气不好。搜索序数值的 ASCII 图表时会调用该字符退格
。
这是我的会话中的图像:
的演示
I can't even copy and paste a strange checkmark looking character from my IDLE interpreter session into this text field...I am running Linux Mint Julia, python version 2.6, but it also happens in 3.1. This occurs after holding the shift
key and pressing backspace
.
I tried doing this:
>>> ord('[strange-checkmark]')
8
Then running the reverse:
>>> chr(8)
\x08'
I'd really like to get this strange character to stop printing, and just delete the previous character instead.
I tried to recreate this character in gedit
, terminal
, and chrome
. No luck. Searching for a ASCII chart of ordinal values calls this character backspace
.
Here's an image from my session:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 Tkinter 中已确认的错误,并不一定是 IDLE。请参阅问题 1482122。
简而言之:如果您想修复它,欢迎尝试
xmodmap -e "keycode 22 = BackSpace"
,但您将面临无法再发出Ctrl 的风险+Alt+Backspace
终止您的 X 服务器。我可以继续寻找有关该错误的更多信息;我不确定 Tkinter 上的工作人员是否已经解决了这个问题。编辑:已确认问题的第二个来源 - 请参阅 Tkinter Wiki 上的 Linux%Shift-Backspace
It's a confirmed bug within Tkinter, and not necessarily IDLE. See Issue 1482122.
In brief: If you want to fix it, you're welcome to try
xmodmap -e "keycode 22 = BackSpace"
, but you run the risk of no longer being able to issue aCtrl+Alt+Backspace
to kill your X Server.I can keep looking for more information into the bug; I'm not sure if the folks working on Tkinter have resolved this yet.EDIT: Confirmed second source on issue - See Linux%Shift-Backspace on the Tkinter Wiki