browson/nodeview.py
def collapse_current(self) -> None:
        """Collapse the current node.

        Redraw the part of the tree related to the current node. Put focus on
        (the now single line representing) the current node.
        """
        current = self.lines[self.focus].node
        if current.collapsed:
            return  # already collapsed
        current.collapsed = True

        new_focus = self.rerender(self.focus).first
        self.set_focus(new_focus)
Collapse the current node.

        Redraw the part of the tree related to the current node. Put focus on
        (the now single line representing) the current node.
        
Collapse the current node.
Redraw the part of the tree related to the current node. Put focus on
(the now single line representing) the current node.
Collapse the current node . Redraw the part of the tree related to the current node . Put focus on ( the now single line representing ) the current node .
def collapse_current(self) -> None:
        current = self.lines[self.focus].node
        if current.collapsed:
            return  
        current.collapsed = True
        new_focus = self.rerender(self.focus).first
        self.set_focus(new_focus)
def collapse_current ( self ) -> None : current = self . lines [ self . focus ] . node if current . collapsed : return current . collapsed = True new_focus = self . rerender ( self . focus ) . first self . set_focus ( new_focus )
Collapse the current node.
Collapse the current node .
"""Collapse the current node.

        Redraw the part of the tree related to the current node. Put focus on
        (the now single line representing) the current node.
        """ # already collapsed
self