jesseduffield / jesseduffield/lazygit

Tab keybinding does not work with new rendering library

Open
#1,306 0 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**
Adding a keybinding for `` does not work in lazygit versions > 0.26.1

**To Reproduce**
Steps to reproduce the behavior:
1. Add this keybinding to the `config.yml` file
```
keybinding:
universal:
return: '' # return to previous menu, will quit if there's nowhere to return
```
2. Open `lazygit`
3. Press tab
4. Focus is switched to the next panel instead of returning

**Expected behavior**
Re-mapping the tab key will work

**Desktop (please complete the following information):**
- OS: MacOS
- Lazygit Version > 0.26.1

**Additional context**
Looks like this bug was introduced with the switch to the new tcell rendering backend. The tab keybinding works in version 0.26.1 but not in any versions after.

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.