Skip to content

Commit be64d07

Browse files
authored
Merge pull request #10 from CedarGroveStudios/master
Add show_terminal function to PyBadger
2 parents 8821c08 + 35ead94 commit be64d07

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adafruit_pybadger.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ def show_badge(self, *, background_color=0xFF0000, foreground_color=0xFFFFFF,
361361
group.append(name_group)
362362
self.display.show(group)
363363

364+
def show_terminal(self):
365+
"""Revert to terminalio screen.
366+
367+
"""
368+
self.display.show(None)
369+
364370
@staticmethod
365371
def bitmap_qr(matrix):
366372
"""The QR code bitmap."""

0 commit comments

Comments
 (0)