Skip to content

screenMode: half does not apply after the filter is reset #5179

@foobarbazmeow

Description

@foobarbazmeow

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

Screen.Recording.2026-01-05.at.23.06.26.mov

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions