code: def reset_terminal():
      ''' Reset the terminal/console screen. (Also aliased to cls.)
  
          Greater than a fullscreen terminal clear, also clears the scrollback
          buffer.  May expose bugs in dumb terminals.
      '''
      if os.name == 'nt':
          from .windows import cls
          cls()
      else:
          text = sc.reset
          _write(text)
          return texf reset_terminal():
      ''' Reset the terminal/console screen. (Also aliased to cls.)
  
          Greater than a fullscreen terminal clear, also clears the scrollback
          buffer.  May expose bugs in dumb terminals.
      '''
      if os.name == 'nt':
          from .windows import cls
          cls()
      else:
          text = sc.reset
          _write(text)
          return text
docs: Reset the terminal/console screen. (Also aliased to cls.)
  
          Greater than a fullscreen terminal clear, also clears the scrollback
          buffer.  May expose bugs in dumb terminals.