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

Add a command to clear the Gremlin Console screen

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.3.10
    • Fix Version/s: 3.5.0, 3.4.7
    • Component/s: console
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: