You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2020/04/02 13:03:00 UTC

[jira] [Created] (TINKERPOP-2357) Add a command to clear the Gremlin Console screen

Stephen Mallette created TINKERPOP-2357:
-------------------------------------------

             Summary: Add a command to clear the Gremlin Console screen
                 Key: TINKERPOP-2357
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2357
             Project: TinkerPop
          Issue Type: Improvement
          Components: console
    Affects Versions: 3.3.10
            Reporter: Stephen Mallette
            Assignee: Stephen Mallette


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 [~krlawrence] here:

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

that demonstrated that you can just send:

{code}
println("\033[H\033[2J")
{code}

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)