Skip to content

Commit 4294eed

Browse files
authored
Reset self.implied_newline after pass (dhylands#41)
* Reset self.implied_newline after pass * Remove unecessary pass statement
1 parent 7369743 commit 4294eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lcd/lcd_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def putchar(self, char):
140140
if self.implied_newline:
141141
# self.implied_newline means we advanced due to a wraparound,
142142
# so if we get a newline right after that we ignore it.
143-
pass
143+
self.implied_newline = False
144144
else:
145145
self.cursor_x = self.num_columns
146146
else:

0 commit comments

Comments
 (0)