jesseduffield / lazygit

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

Error message keeps artifacts in console #1273

Open MiroslavMikus opened 3 years ago

MiroslavMikus commented 3 years ago

Describe the bug Error message from status menu leaves artifacts in the console.

To Reproduce

  1. create git repo A
  2. open it with lazy git
  3. open another repo
  4. delete repo A
  5. navigate to Status menu, press Enter and navigate to repo A

Expected behavior The error message should not leave any artifacts.

Screenshots LG_BUG_210413

Desktop: OS: Windows 10.0.19042 Terminal:

BTW:

It would be amazing ich we could add either a new binding to the recent repositories menu:

removeRecentRepository: 'd'

or just a simple y/n picker if the user wants to remove the invalid entry so the user doesn't have to dig each and every time in the status.yml file :)

jesseduffield commented 3 years ago

@MiroslavMikus can you check if this issue persists on latest master? I've fixed a minor rendering issue there which might relate to this

MiroslavMikus commented 3 years ago

Hey @jesseduffield, sorry for the late response, the issue still occurs in the 0.28.1 release.