code: def copy_mode(pymux, variables):
      
      go_up = variables['-u']  # Go in copy mode and page-up directly.
      # TODO: handle '-u'
  
      pane = pymux.arrangement.get_active_pane()
      pane.enter_copy_mode()
docs: Enter copy mode.