Skip to content

Commit

Permalink
data-serial-console: add introduction explanation text
Browse files Browse the repository at this point in the history
  • Loading branch information
josuah committed Jun 21, 2023
1 parent 620eea9 commit 2f314ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/serial_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def prompt():
if sys.stdin.isatty():
tty.setraw(0)

sys.stderr.write('Ctrl-V + "input text" + Enter: data to raw service\r\n')

# Infinite loop to read the input character until the end
while True:
ch = await loop.run_in_executor(None, sys.stdin.buffer.read, 1)
Expand Down

0 comments on commit 2f314ce

Please sign in to comment.