Skip to content

fix(client): refresh only if m_ui_pending is not empty#5453

Merged
mawww merged 1 commit intomawww:masterfrom
paaloeye:fix/551b20a-5405-regression
Mar 5, 2026
Merged

fix(client): refresh only if m_ui_pending is not empty#5453
mawww merged 1 commit intomawww:masterfrom
paaloeye:fix/551b20a-5405-regression

Conversation

@paaloeye
Copy link
Contributor

@paaloeye paaloeye commented Mar 4, 2026

Fixes regression introduced in 551b20a where moving generate_mode_line after update_display_buffer removed the early return check. This caused refresh to be called even when no UI updates were needed, breaking tests that expected specific message sequences.

Fixes: 551b20a

Fixes regression introduced in 551b20a where moving `generate_mode_line`
after `update_display_buffer` removed the early return check. This caused
`refresh` to be called even when no UI updates were needed, breaking tests
that expected specific message sequences.

Fixes: 551b20a
Signed-Off-By: Paal Øye-Strømme <paal.o.eye@gmail.com>
@paaloeye
Copy link
Contributor Author

paaloeye commented Mar 4, 2026

@mawww I believe this one fixes 5405-error-face-on-empty-prompt regression test. I'm glad it is in place! Cheers!

@paaloeye paaloeye mentioned this pull request Mar 4, 2026
@mawww mawww merged commit 03019ca into mawww:master Mar 5, 2026
4 of 6 checks passed
@paaloeye paaloeye deleted the fix/551b20a-5405-regression branch March 5, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants