Skip to content

Commit

Permalink
noncanonical.py: fix compatibility with IObundle servers.
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAntunes178 committed Dec 11, 2023
1 parent ccfed7f commit 8ea8246
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions submodules/LIB/scripts/noncanonical.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
import termios

PROGNAME: str = "IOb-Non-Canonical"
print("IOb-Non-Canonical: activating terminal non-canonical mode")

stdin = sys.stdin
fd = stdin.fileno()
Expand All @@ -14,4 +14,3 @@
new[3] &= ~termios.ICANON

termios.tcsetattr(fd, termios.TCSAFLUSH, new)
print(f"{PROGNAME}: activating terminal non-canonical mode")

0 comments on commit 8ea8246

Please sign in to comment.