From 3cf712556b363fc2ce0f316152eaf4ba4400f04f Mon Sep 17 00:00:00 2001 From: RetiredWizard Date: Sun, 23 Apr 2023 01:03:13 -0400 Subject: [PATCH] Add CIRCUITPYTHON_TERMINAL usage description --- shared-bindings/displayio/Display.c | 1 + shared-bindings/displayio/EPaperDisplay.c | 1 + shared-bindings/framebufferio/FramebufferDisplay.c | 1 + 3 files changed, 3 insertions(+) diff --git a/shared-bindings/displayio/Display.c b/shared-bindings/displayio/Display.c index 29bca28c3f..381924e0ab 100644 --- a/shared-bindings/displayio/Display.c +++ b/shared-bindings/displayio/Display.c @@ -426,6 +426,7 @@ MP_PROPERTY_GETTER(displayio_display_bus_obj, //| root_group: Group //| """The root group on the display. +//| If the root group is set to displayio.CIRCUITPYTHON_TERMINAL, the default CircuitPython terminal will be shown. //| If the root group is set to ``None``, no output will be shown. //| """ STATIC mp_obj_t displayio_display_obj_get_root_group(mp_obj_t self_in) { diff --git a/shared-bindings/displayio/EPaperDisplay.c b/shared-bindings/displayio/EPaperDisplay.c index 8c753de19b..8df3b31de9 100644 --- a/shared-bindings/displayio/EPaperDisplay.c +++ b/shared-bindings/displayio/EPaperDisplay.c @@ -384,6 +384,7 @@ MP_PROPERTY_GETTER(displayio_epaperdisplay_bus_obj, //| root_group: Group //| """The root group on the epaper display. +//| If the root group is set to displayio.CIRCUITPYTHON_TERMINAL, the default CircuitPython terminal will be shown. //| If the root group is set to ``None``, no output will be shown. //| """ //| diff --git a/shared-bindings/framebufferio/FramebufferDisplay.c b/shared-bindings/framebufferio/FramebufferDisplay.c index eb49f311b7..806d9957b4 100644 --- a/shared-bindings/framebufferio/FramebufferDisplay.c +++ b/shared-bindings/framebufferio/FramebufferDisplay.c @@ -324,6 +324,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(framebufferio_framebufferdisplay_fill_row_obj, 1, fra //| root_group: displayio.Group //| """The root group on the display. +//| If the root group is set to displayio.CIRCUITPYTHON_TERMINAL, the default CircuitPython terminal will be shown. //| If the root group is set to ``None``, no output will be shown. //| """ //|