adafruit / Adafruit_FONA

Arduino library for the Adafruit FONA
https://www.adafruit.com/products/1946
211 stars 237 forks source link

Make readline function compatible with screen line endings #100

Open rowedonalde opened 5 years ago

rowedonalde commented 5 years ago

Fixes issue #99 by consuming line on CR or LF (whichever is seen first). The screen util on MacOS appears to only send CR, which is ignored in the superseded implementation of readline in the examples.