code: def reset_completion_defaults(self) -> None:
          
          self.allow_appended_space = True
          self.allow_closing_quote = True
          self.completion_header = ''
          self.display_matches = []
          self.matches_delimited = False
          self.matches_sorted = False
  
          if rl_type == RlType.GNU:
              readline.set_completion_display_matches_hook(self._display_matches_gnu_readline)
          elif rl_type == RlType.PYREADLINE:
              # noinspection PyUnresolvedReferences
              readline.rl.mode._display_completions = self._display_matches_pyreadline
docs: Resets tab completion settings
          Needs to be called each time readline runs tab completion