Skip to content

Commit 0b9af46

Browse files
committed
display.show() will be removed in 9.x
1 parent a13baa1 commit 0b9af46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/pydos_ui_virt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def virt_touched(self):
157157
def read_virtKeyboard(self,num=0):
158158
#self._display.show(None)
159159
#self._display.refresh()
160-
self._display.show(self._kbd_group)
160+
self._display.root_group=self._kbd_group
161161

162162
font = terminalio.FONT
163163
color = 0xFFFFFF
@@ -219,7 +219,7 @@ def read_virtKeyboard(self,num=0):
219219
# display.root_group = displayio.CIRCUITPYTHON_TERMINAL
220220
while len(self._kbd_group) > 1:
221221
self._kbd_group.pop()
222-
self._display.show(None)
222+
self._display.root_group=None
223223
return keyString
224224

225225
Pydos_ui = PyDOS_UI()

0 commit comments

Comments
 (0)