[
https://issues.apache.org/jira/browse/TINKERPOP-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15426316#comment-15426316
]
Robert Dale commented on TINKERPOP-1226:
This has gotten me several times early on before I knew about :clear and :d. I
think the problem stems from the lack of an indication that there is multi-line
input TINKERPOP-1285 . And so :d isn't always immediately obvious.
Simple example, but think of a complex, multi-line query with a single quote or
paren missing:
gremlin> g.V().has('name,'marko')
gremlin>
gremlin>
gremlin> :d
000> g.V().has('name,'marko')
gremlin>
Again, with multi-line support TINKERPOP-1285 :
gremlin> g.V().has('name,'marko')
gremlin:001>
Ah, it's waiting more input! I must be missing something!
And maybe this is why 'null' return has been an important indicator to keep
around - TINKERPOP-1409 . With multi-line support, it's no longer ambiguous if
the console is awaiting more input or has returned.
> Gremlin Console should :clear automagically after "Display stack trace."
>
>
> Key: TINKERPOP-1226
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1226
> Project: TinkerPop
> Issue Type: Improvement
> Components: console
>Affects Versions: 3.1.1-incubating
>Reporter: Marko A. Rodriguez
>
> I don't know if this is possible, but Martin brought this up the other day.
> Why not just automatically call {{:clear}} after an Exception has been
> through to get the Console back into an orderly state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)