Fixed line feed
This commit is contained in:
parent
3c6f54862d
commit
f5972c72f8
@ -43,7 +43,7 @@ class TerminalEmulator:
|
|||||||
# read serial port and write to curses
|
# read serial port and write to curses
|
||||||
if ser.inWaiting():
|
if ser.inWaiting():
|
||||||
b = ser.read(1)
|
b = ser.read(1)
|
||||||
if ord(b) > 31:
|
if ord(b) > 31 or ord(b) == 10:
|
||||||
w.addch(b)
|
w.addch(b)
|
||||||
|
|
||||||
stdscr.refresh()
|
stdscr.refresh()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user