mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
The response wait feature waited for a line response, a string terminated with either CR or NL. However, some devices may send a CR and then their line content and then NL. This means tio will quit before receiving and printing the line response. To solve this we simply ignore the CR character and only consider lines terminated with a NL character. This should work for all devices as lines are AFAIK always terminated with either CRNL or a NL. |
||
|---|---|---|
| .. | ||
| meson.build | ||
| tio.1.in | ||
| tio.1.txt | ||