jesseduffield / jesseduffield/lazygit

`screenMode: half` does not apply after the filter is reset

Open
#5,179 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
Resetting the commit filter does not respect `screenMode: half`

### To Reproduce
Steps to reproduce the behavior:

1. Set `screenMode: half` in `config.yml`
2. Open lazygit and make sure that `screenMode: half` is applied
3. Apply filter to commit log with `c-s`
4. Reset filter with `esc`
5. lazygit has default (i.e. `screenMode: normal`) layout

### Expected behavior
lazygit still uses `screenMode: half` after resetting the filter

### Screenshots

https://github.com/user-attachments/assets/87bf88b8-956e-4552-92c3-95390ccacbc8

### Version info:

* commit=, build date=, build source=Homebrew, version=0.58.0, os=darwin, arch=arm64, git version=2.50.1 (Apple Git-155)
* git version 2.50.1 (Apple Git-155)

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.