dhylands / python_lcd

Python based library for talking to character based LCDs.
MIT License
298 stars 116 forks source link

Update lcd_api.py to correct the behavior with \n #45

Open rkompass opened 1 year ago

rkompass commented 1 year ago

There was a bug in putchar() that resulted in the behavior that self.implied_newline was not properly reset to False. As a result after a long line put to the display subsequent \ns were ignored. This is corrected here.