Skip to content

Commit

Permalink
Merge pull request #15 from RetiredWizard/main
Browse files Browse the repository at this point in the history
Replace depreciated .show()
  • Loading branch information
dhalbert authored Nov 2, 2023
2 parents e9bbd0a + bbffdbd commit 3406fbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adafruit_simple_text_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ def add_text_line(

def show(self) -> None:
"""Call show() to display the data list."""
self._display.show(self.text_group)
self._display.root_group = self.text_group

def show_terminal(self) -> None:
"""Revert to terminalio screen."""
self._display.show(None)
self._display.root_group = displayio.CIRCUITPYTHON_TERMINAL

0 comments on commit 3406fbb

Please sign in to comment.