Skip to content

Commit

Permalink
console: activating terminal non-canonical mode when necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAntunes178 committed Dec 4, 2023
1 parent 7090c07 commit c138ecf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions submodules/LIB/scripts/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import time
import select
from threading import Thread
import subprocess

# Global variables
ser = None
Expand Down Expand Up @@ -316,6 +317,10 @@ def main():
print(": received request to disable iob-soc exclusive message identifiers")
endFileTransfer()
print(PROGNAME, end="")
print(": activating terminal non-canonical mode.")
script_arguments = ["python", "../../scripts/noncanonical.py"]
subprocess.run(script_arguments)
print(PROGNAME, end="")
print(": start reading user input")
input_thread.start()
else:
Expand Down

0 comments on commit c138ecf

Please sign in to comment.