siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
129 stars 76 forks source link

iot2050setup: Fix reading back console size values and simplify code #421

Closed jan-kiszka closed 1 year ago

jan-kiszka commented 1 year ago

The current code was not compatible with consoles delivering the result of escape sequence in fragments or even byte-wise. Adjust things for that and also simplify the logic in way that we no longer need to switch to non-blocking mode.