Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2357

Add a command to clear the Gremlin Console screen

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.3.10
    • 3.5.0, 3.4.7
    • console
    • None

    Description

      Folks constantly try to use :clear to "clear the terminal" in Gremlin Console and there does not appear to be a nice way to do this across platforms. A recent post on Gremlin Users from Kelvin Lawrence here:

      https://groups.google.com/d/msg/gremlin-users/BQfqEHmoG7E/wp7LVA1-CAAJ

      that demonstrated that you can just send:

      println("\033[H\033[2J")
      

      made me think that it would be really easy to wrap that up in a command called :cls or shorthanded :C (since :clear is already taken).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment