Github user spmallette commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/385#discussion_r76053089
  
    --- Diff: 
gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
 ---
    @@ -191,7 +192,18 @@ class Console {
                 groovy.setResultHook(handleResultShowNothing)
         }
     
    -    private def handlePrompt = { interactive ? STANDARD_INPUT_PROMPT : "" }
    +    private def handlePrompt = { 
    +        if (interactive) {
    +            int lineNo = groovy.buffers.current().size()
    +            if (lineNo > 0 ) {
    +                return 
lineNo.toString().padLeft(STANDARD_INPUT_PROMPT_PAD, 
'0').padRight(STANDARD_INPUT_PROMPT.length()-2, ' ') + "> "
    --- End diff --
    
    if it's easier to evaluate as merged, then i think we might want to 
complete the vote here for this work, as we already have three votes on the 
other PR.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to