Skip to content

Suppress flicker#20

Merged
mayuki merged 1 commit intomayuki:masterfrom
kzrnm:clearLine
Aug 12, 2025
Merged

Suppress flicker#20
mayuki merged 1 commit intomayuki:masterfrom
kzrnm:clearLine

Conversation

@kzrnm
Copy link
Contributor

@kzrnm kzrnm commented Aug 9, 2025

The current implementation

  1. Deletes the previously displayed line
  2. Draws the new line

This order can cause flickering depending on the drawing timing.

master.mp4

My implementation

  1. Draws the new line
  2. If the previously displayed line still remains, delete it

This order suppress flickering.

pr.mp4

@mayuki
Copy link
Owner

mayuki commented Aug 12, 2025

Looks good to me. Thanks!

@mayuki mayuki merged commit 3ae90ba into mayuki:master Aug 12, 2025
1 check passed
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