From 84fa94978e2efa081dbe3020323acdf4bb90c591 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Tue, 31 Jan 2023 12:51:04 +0000 Subject: [PATCH] Add a docstring to action_cursor_down --- src/textual/widgets/_tree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/widgets/_tree.py b/src/textual/widgets/_tree.py index ff60da1f6..1c0465c6d 100644 --- a/src/textual/widgets/_tree.py +++ b/src/textual/widgets/_tree.py @@ -981,6 +981,7 @@ class Tree(Generic[TreeDataType], ScrollView, can_focus=True): self.scroll_to_line(self.cursor_line) def action_cursor_down(self) -> None: + """Move the cursor down one node.""" if self.cursor_line == -1: self.cursor_line = 0 else: