kopia lustrzana https://github.com/peterhinch/micropython-nano-gui
Include writer bugfix.
rodzic
2335e431aa
commit
b5d62a64c5
|
@ -150,6 +150,8 @@ class Writer():
|
||||||
self._printline(rstr, invert) # Recurse
|
self._printline(rstr, invert) # Recurse
|
||||||
|
|
||||||
def stringlen(self, string, oh=False):
|
def stringlen(self, string, oh=False):
|
||||||
|
if not len(string):
|
||||||
|
return 0
|
||||||
sc = self._getstate().text_col # Start column
|
sc = self._getstate().text_col # Start column
|
||||||
wd = self.screenwidth
|
wd = self.screenwidth
|
||||||
l = 0
|
l = 0
|
||||||
|
|
Ładowanie…
Reference in New Issue