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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.2.0-incubating
    • 3.2.2
    • console
    • 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

              spmallette Stephen Mallette
              rocco.varela Rocco Varela
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: