-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: Correctly render the blocks around the chain tip in the TUI
Previously we were using floor division to determine the number of blocks per cell, which would then exceed the number of cells available to render, leading to information around the chain tip not being shown. We now use ceiling division, as well as specifically rendering blocks above the chain tip as "ignored" with no background (rather than as "chain tip" scan ranges).
- Loading branch information
Showing
1 changed file
with
33 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters