Skip to content

[bug] osc 8 flooding #4421

Open
Open
@phanen

Description

@phanen

Describe the bug

Too many osc8 requested to the terminal.

Using a neovim terminal (v0.10.0+) to reproduce (this command launch a lazygit in nvim terminal, and nvim will echo all terminal request in error level):

mkdir /tmp/tmp; cd /tmp/tmp; git init
nvim -u NONE +"au TermRequest * echoerr v:termrequest" +"term ./lazygit -ucf /dev/null"
# this way can check this without attach tui
# nvim --headless -u NONE +"au TermRequest * echoerr v:termrequest" +"term ./lazygit -ucf /dev/null"

Then hit enter and enter again and again, you will see endless ^[]8;;:

Image

I bisected and found this problem didn't exist before this: 524bf83.

Expected behavior
There shouldn't be too many OSC 8 request.

Additional context

  • neovim 0.10.0+

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions