Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-444

CompleterInvocation.getGivenCompleteValue returns escaped content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.0.0.Alpha1
    • None
    • None
    • None

    Description

      The value typed by the user is not the value received by the completer.
      Imagine a FilePath completer that deals with directory files.

      cmd --opt1=/my\ path/myfile.<TAB>

      The completer receives "/my path/myfile.", there is now a difference of 1 character, the length of the value to complete is meaningless and doesn't allow for offset computation.
      There is no way to compute an offset in order to complete after the "." or after the "/"

      Attachments

        Activity

          People

            spederse@redhat.com Stale Pedersen
            jdenise@redhat.com Jean Francois Denise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: