jesseduffield / jesseduffield/lazygit

Error message keeps artifacts in console

Open
#1,273 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**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](https://user-images.githubusercontent.com/29312172/114616186-de1ed980-9ca6-11eb-8f40-0686cb7ec053.gif)

**Desktop:**
OS: Windows 10.0.19042
Terminal:
- WindowsTerminal 1.6.10571.0 (tested and gif)
- Powershell terminal 5.1.19041.610 (tested)
Powershell: 7.1.3
Lazygit Version 0.27.4

## BTW:
It would be amazing ich we could add either a new binding to the `recent repositories` menu:
``` yaml
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 :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.