From c9ba0762f0206ba875bb6269e6bdeb99a0dcf4bb Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 23 May 2026 18:31:24 -0700 Subject: [PATCH] Add docstring. --- borgmatic/actions/browse/carousel.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/borgmatic/actions/browse/carousel.py b/borgmatic/actions/browse/carousel.py index acbc29c8..4d81c4bd 100644 --- a/borgmatic/actions/browse/carousel.py +++ b/borgmatic/actions/browse/carousel.py @@ -116,6 +116,10 @@ class Carousel(textual.containers.Horizontal): del self.panels[next_panel_index:] def on_option_list_option_selected(self, event): + ''' + An option has been selected, so advance to the next panel—unless the option selected is + "..", in which case go to the previous panel. + ''' if event.option_list != self.focused_panel or event.option_id == 'loading-indicator': return