Repository navigation
fix(tui): keep the week heading's gap in short terminals - #120
Merged
Merged
Conversation
m1ngsama
force-pushed
the
feat/compact-sections
branch
from
November 19, 2026 02:55
6f705bc to
529f07a
Compare
m1ngsama
force-pushed
the
feat/wide-grid
branch
from
November 19, 2026 02:55
07834fe to
19c234b
Compare
m1ngsama
force-pushed
the
feat/compact-sections
branch
from
November 19, 2026 02:58
529f07a to
7bfed0c
Compare
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the Schedule hub ran one row short, it removed every blank line at once, so the next-class banner, today's timeline, and the week list ran together with no break.
Blank lines are now removed one at a time, starting with the one under the next-class banner. At 60×24 with a real timetable, the hub keeps the gap above "本周" and still fits the whole week. All gaps go only when one row is not enough.
Validation:
npm run checkpasses, and the full test suite also passes withTZ=America/Los_Angeles. The new test fails on the old code.