aboutsummaryrefslogtreecommitdiffstats
path: root/got
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gotrc-examples/issue-file3
1 files changed, 2 insertions, 1 deletions
diff --git a/gotrc-examples/issue-file b/gotrc-examples/issue-file
index 6f5aa3f..a620117 100644
--- a/gotrc-examples/issue-file
+++ b/gotrc-examples/issue-file
@@ -95,7 +95,8 @@ for i in range(len(data)):
esc = True
else:
buf += c
-print(buf, end = "", flush = True)
+sys.stdout.buffer.write(buf.encode('utf-8'))
+sys.stdout.buffer.flush()
EOF
echo
echo -n 'Login: '