jesseduffield / jesseduffield/lazygit
[bug] osc 8 flooding
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**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):
```bash
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;;`:

I bisected and found this problem didn't exist before this: https://github.com/jesseduffield/lazygit/commit/524bf83a4a681408c3fb57818f6968cab632e0ae.
**Expected behavior**
There shouldn't be too many OSC 8 request.
**Additional context**
* neovim 0.10.0+
Contributor guide
Assessment
This issue has not been assessed yet.