Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1285

Gremline console does not differentiate between multi-line and single-line input

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.2.0-incubating
    • Fix Version/s: 3.2.2
    • Component/s: console
    • Labels:
      None

      Description

      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.

      gremlin> script = '''
      gremlin> line1_command
      gremlin> line2_command
      gremlin> '''
      

      Ideally we would like something like this, showing the user that they are still in multi-line input mode.

      gremlin> script = '''
      ... line1_command
      ... line2_command
      ... '''
      gremlin>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette stephen mallette
                Reporter:
                rocco.varela Rocco Varela
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: