Fix machine list wrapping in narrow terminals - #5107
Merged
Conversation
tomr-a5
marked this pull request as ready for review
August 20, 2026 23:33
3 tasks
tomr-a5
added a commit
that referenced
this pull request
Aug 24, 2026
Revert "Fix machine list wrapping in narrow terminals (#5107)"
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.
What changes
fly machine listpages an oversized interactive table horizontally instead of allowing the terminal to soft-wrap its rows. The pager explains how to scroll and quit while keeping all thirteen columns and full values available.Scope
Redirected, JSON, and quiet output remain unchanged. Tables that fit the terminal and other commands do not page. A missing or disabled pager falls back to the existing raw table, and shared table rendering defaults do not change.
Testing
go test ./... -count=1go test -race ./internal/command/machine ./iostreams -count=1lesspseudo-terminal check at 120 columns verified the prompt, UTF-8 separators, horizontal navigation through the final Size column, and clean exit withq; a 400-column check verified pager bypass.Fixes #4710.