Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e752e20 commit 72cdb70Copy full SHA for 72cdb70
1 file changed
Lib/curses/ascii.py
@@ -87,6 +87,8 @@ def alt(c):
87
return _ctoi(c) | 0x80
88
89
def unctrl(c):
90
+ if isprint(c):
91
+ return chr(_ctoi(c))
92
bits = _ctoi(c)
93
if bits == 0x7f:
94
rep = "^?"
0 commit comments