class_docstr: A CLI menu to select a choice from a list of choices using the keyboard.
class_docstr_tok: ["A","CLI","menu","to","select","a","choice","from","a","list","of","choices","using","the","keyboard","."]
code: def select_row(self):
      index = int(chr(self.current_selection))
      movement = index - self.position
      if index == self.position:
          return
      if index < len(self.choices):
          if self.position > index:
              self.move_direction(Direction.UP, -movement)
          elif self.position < index:
              self.move_direction(Direction.DOWN, movement)
          else:
              return
      else:
          return
  
file_path: accelerate/src/accelerate/commands/menu/selection_menu.py
imports: import builtins
  import sys
  from ...utils.imports import _is_package_available
  from .None import cursor, input
  from .helpers import Direction, clear_line, forceWrite, linebreak, move_cursor, reset_cursor, writeColor
  from .keymap import KEYMAP
label_desc: Use image node_id 9 for calling the BulletMenu obj's underlying member method code with example usage: obj.select_row() without return types