1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-23 03:16:37 +02:00

core: force ctrl keys to lower case when they are added (closes #1875)

This commit is contained in:
Sébastien Helleu
2023-01-29 11:17:15 +01:00
parent be0c04f498
commit fd746a04d6
51 changed files with 2089 additions and 859 deletions
+2 -2
View File
@@ -1386,13 +1386,13 @@ def get_stdin():
"""
Return data from standard input.
If there is nothing in stdin, wait for data until ctrl-D (EOF)
If there is nothing in stdin, wait for data until ctrl-d (EOF)
is received.
"""
data = ''
inr = select.select([sys.stdin], [], [], 0)[0]
if not inr:
print('Enter the code to convert (Enter + ctrl+D to end)')
print('Enter the code to convert (Enter + ctrl-d to end)')
while True:
inr = select.select([sys.stdin], [], [], 0.1)[0]
if not inr: