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)