Skip to content

Upgrade to JLine 2.14.1 #44

Closed
Closed
@retronym

Description

@retronym

I tried 2.13.0, and hit this bug (since fixed).

I also found we needed to disable automatic insertion of " " after completion:

    getCompletionHandler match {
      case clch: CandidateListCompletionHandler =>
        // Without this, `"".toChar<TAB>` expands to ``"".toCharArray <CURSOR>` in JLine 2.13
        clch.setPrintSpaceAfterFullCompletion(false)
        // New in JLine 2.13, completion results can be ANSI decorated, but will be stripped before being entered into the buffer
        // Turning this on to foster experimentation!
        clch.setStripAnsi(true)
      case _ =>
    }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions