mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 23:56:24 -04:00
A rawGit diff renderer needs no pty -- git renders the diff itself, and only a pager needs a terminal to be spawned at all -- so newPtyTask hands that case straight to newCmdTask. But the OSC1717 advertisement was set forty lines further down, past that early return, so git was never asked to annotate its output and the word-diff renderer we just started trusting emitted no records. Set it before the branch, next to LAZYGIT_COLUMNS, which is there for the same reason. Nothing else changes: a renderer that doesn't know the variable ignores it, and git says nothing for the formats it doesn't annotate, which is every format a rawGit renderer without word-diff arguments produces. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||