jesseduffield / jesseduffield/lazygit

residual menu texts remain on the screen when using language `zh`

Open
#2,365 1 comment 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**
When using languages such as `zh`, `ja` or `ko`, there are residual menu texts remaning on the screen when you close the menu(`Esc`)

**To Reproduce**
Steps to reproduce the behavior:

1. set `language` to `zh` in the config file (`language: 'zh'`)
2. open the menu using the key `x`
3. close the menu using the key `Esc`

**Expected behavior**
no residual menu texts remain on the screen

**Screenshots**

![lg1](https://user-images.githubusercontent.com/33268704/212654374-639e85b3-9969-4862-8676-b95c92a4bfd3.png)
![lg2](https://user-images.githubusercontent.com/33268704/212654400-0638b874-6ef1-4f97-895c-b04ece36bb43.png)
p.s. the red rectangle was drawn by me.

**Version info:**
_Run `lazygit --version` and paste the result here_
_Run `git --version` and paste the result here_

`commit=, build date=, build source=unknown, version=unversioned, os=windows, arch=amd64, git version=2.39.0.windows.2`

**Additional context**
Add any other context about the problem here.

I tried this both on `Git Bash` and Windows's `CMD`. the results were the same.

**Note:** please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.

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.