jesseduffield / lazygit

simple terminal UI for git commands
MIT License
52.03k stars 1.82k forks source link

Broken interface in Konsole and Yakuake #3169

Open MikhailNatalenko opened 10 months ago

MikhailNatalenko commented 10 months ago

Describe the bug Broken escape symbols? OS: Debian 10 buster Terminal: Konsole or Yakuake

I'm sure there could be some obvious problem with my OS configuration. I've tried to check encoding (it's utf-8), fonts nothing worked.

To Reproduce Steps to reproduce the behavior:

  1. Download the latest version on Debian 10 with KDE Plasma
  2. Run in Konsole or Yakuake
  3. Interface is broken with escape symbols

Same binary works fine in other terminals: Xterm or XFCE Term Screenshots image

Version info: commit=5e388e21c8ca6aa883dbcbe45c47f6fdd5116815, build date=2023-08-07T14:05:48Z, build source=binaryRelease, version=0.40.2, os=linux, arch=386, git version=2.20.1 git version 2.20.1

Additional context nothing interesting in logs....

Dec 18 23:03:13 |DEBU| RunCommand command="git for-each-ref --sort=-committerdate --format=\"%(HEAD)%00%(refname:short)%00%(upstream:short)%00%(upstream:track)\" refs/heads"
Dec 18 23:03:13 |INFO| refreshing the following scopes in async mode: branches,commits,remotes,tags 
Dec 18 23:03:13 |DEBU| RunCommand command="git tag --list --sort=-creatordate"
Dec 18 23:03:13 |DEBU| RunCommand command="git branch -r"
Dec 18 23:03:13 |DEBU| RunCommand command="git for-each-ref --sort=-committerdate --format=\"%(HEAD)%00%(refname:short)%00%(upstream:short)%00%(upstream:track)\" refs/heads"
Dec 18 23:03:13 |DEBU| RunCommand command="git symbolic-ref --short HEAD"
Dec 18 23:03:13 |DEBU| RunCommand command="git merge-base \"HEAD\" \"develop\""
Dec 18 23:03:13 |DEBU| RunCommand command="git merge-base \"HEAD\" \"HEAD\"@{u}"
Dec 18 23:03:13 |DEBU| RunCommand command="git symbolic-ref --short HEAD"
Dec 18 23:03:13 |DEBU| RunCommand command="git merge-base \"HEAD\" \"develop\""
MikhailNatalenko commented 9 months ago

I've just tried to run lazygit on a clean Debian 10 system. It is still broken in Konsole, but works fine in xfce4-terminal