Skip to content

shell integration: Elvish doesn't mark OSC133 input regions #10523

Open

Description

@mitchellh

See below:

Image

The full prompt line should not be orange. It should mark input as blue and the right prompt should probably be marked k=r.

Activity

  1. added theissue type on Feb 1, 2026
  2. self-assigned this
    on Feb 2, 2026
  3. jparise commented on Feb 2, 2026

    @jparise
    Contributor

    Making this work reliably might be challenging given that Elvish renders its prompts on a background thread and also filters most escape sequences from the output.

    https://elv.sh/ref/edit.html#prompts

    I've made some (local) improvements, but it might not be possible to get a full implementation working with only the existing hooks.

    Alternatively, there's an upstream issuing to implement OSC 133 directly in the shell (elves/elvish#1808), so that's probably the best long-term solution.

  4. jparise commented on Feb 4, 2026

    @jparise
    Contributor

    elves/elvish#1917 implements OSC 133 directly in Elvish.

  5. added a commit that references this issue on Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions