browson/nodeview.py
def collapse_all(self) -> None:
        """Collapse all nodes. Put focus on the first/only line."""
        for node in self.root.dfwalk():
            node.collapsed = True
        new_focus = self.rerender(0).first  # redraw everything
        self.set_focus(new_focus)
Collapse all nodes. Put focus on the first/only line.
Collapse all nodes. Put focus on the first/only line.
Collapse all nodes . Put focus on the first / only line .
def collapse_all(self) -> None:
        for node in self.root.dfwalk():
            node.collapsed = True
        new_focus = self.rerender(0).first  
        self.set_focus(new_focus)
def collapse_all ( self ) -> None : for node in self . root . dfwalk ( ) : node . collapsed = True new_focus = self . rerender ( 0 ) . first self . set_focus ( new_focus )
Collapse all nodes.
Collapse all nodes .
"""Collapse all nodes. Put focus on the first/only line.""" # redraw everything
self