[ https://issues.apache.org/jira/browse/TINKERPOP-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15434768#comment-15434768 ]
ASF GitHub Bot commented on TINKERPOP-1285: ------------------------------------------- Github user spmallette commented on the issue: https://github.com/apache/tinkerpop/pull/385 I tested this out manually - works nicely. I don't really like the spaces between line number and `>`: ```text gremlin> 1 + 001 > 1 + 002 > 1 + 003 > 1 ==>4 ``` wonder if anyone else feels the same. i tried filling them with other things for fun to see if anything looked better: ```text gremlin> 1 + 001>>>>> 1 + 002>>>>> 1 + 003>>>>> 1 ==>4 gremlin> 1 + 001----> 1 + 002----> 1 + 003----> 1 ==>4 gremlin> 1 + 001====> 1 + 002====> 1 + 003====> 1 ==>4 gremlin> 1 + ....001> 1 + ....002> 1 + ....003> 1 ==>4 ``` Anyone feel the same? Otherwise: VOTE +1 from me. Note that this PR could use a CHANGELOG entry and upgrade docs in the users section as i think it's a nice feature to announce. If @robertdale has time to amend this PR with that change, that would be cool, if not, whoever merges should tack that in. > Gremline console does not differentiate between multi-line and single-line > input > -------------------------------------------------------------------------------- > > Key: TINKERPOP-1285 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1285 > Project: TinkerPop > Issue Type: Improvement > Components: console > Affects Versions: 3.2.0-incubating > Reporter: Rocco Varela > Priority: Minor > > When entering input, say into a script variable, that extends over multiple > lines the gremlin console does not provide the user with any indication that > they are in a multi-line input mode. Here is an example. > Notice the 'gremline>' prompts are presented within the triple-quotes. > {code} > gremlin> script = ''' > gremlin> line1_command > gremlin> line2_command > gremlin> ''' > {code} > Ideally we would like something like this, showing the user that they are > still in multi-line input mode. > {code} > gremlin> script = ''' > ... line1_command > ... line2_command > ... ''' > gremlin> > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)