Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: endbasic/endbasic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: endbasic/endbasic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: console-resize
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 7, 2026

  1. Inject resize events through MockConsole

    Represent mock console input as a stream of input events so tests can
    inject resizes alongside key presses.  Keep the text size in shared
    state so resize-sensitive tests can also mutate it directly when no
    input event is involved.
    jmmv committed Jun 7, 2026
    Configuration menu
    Copy the full SHA
    d96176a View commit details
    Browse the repository at this point in the history
  2. Query pager size on demand

    Stop caching pager dimensions and the pause message so pagination
    reacts to live console resizes.  Update the pager formatting helper
    and tests to exercise width and height changes after construction.
    jmmv committed Jun 7, 2026
    Configuration menu
    Copy the full SHA
    9a6d927 View commit details
    Browse the repository at this point in the history
  3. Clamp readline to the current width

    Recompute readline prompt and line limits from the current console
    size so interactive input reacts to resizes.  Truncate oversized
    input to the visible width and clamp the cursor instead of assuming
    the old dimensions remain valid.
    jmmv committed Jun 7, 2026
    Configuration menu
    Copy the full SHA
    ef21b0d View commit details
    Browse the repository at this point in the history
  4. Refresh editor layout after resizes

    Requery the console size on every editor loop so viewport updates,
    page movement, and cursor placement react to resizes safely.  Add
    coverage for width and height changes while editing.
    jmmv committed Jun 7, 2026
    Configuration menu
    Copy the full SHA
    2589e6c View commit details
    Browse the repository at this point in the history
Loading