You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/15 14:23:00 UTC

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

    [ https://issues.apache.org/jira/browse/TINKERPOP-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084119#comment-17084119 ] 

ASF GitHub Bot commented on TINKERPOP-2357:
-------------------------------------------

spmallette commented on pull request #1277: TINKERPOP-2357 Added :cls command to clear console screen
URL: https://github.com/apache/tinkerpop/pull/1277
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2357
   
   This change was implemented a while ago but I didn't issue the PR immediately as I requested on the ML that folks test it on different platforms to make sure it works. The confirmations came in fast and then I accidentally forgot to get this into review.
   
   I purposely didn't target `3.3-dev` here as it's a new feature and I didn't want to make any more mistakes related to putting anything other than bug fixes there. 
   
   All tests pass with `docker/build.sh -t -i`
   
   VOTE +1
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Minor
>
> 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 {{:cls}} or shorthanded {{:C}} (since {{:clear}} is already taken). 



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