Re-wrap the four over-long lines the shell's review named

CHANGELOG.md (the shell's entry), docs/ui.md (the maximized paragraph),
docs/design/gpui-spikes.md (the status paragraph) and the module doc of
voelin-gpui's app.rs: prose only, no word changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-27 23:23:36 +03:00
1 parent 870eb5d938
commit 6b8f933ece
4 files changed
+18 -16

No files matched your search

+5 -4
View File
@@ -25,8 +25,9 @@
//! transition asks for besides the state (`Update`) is carried out as far as
//! this front end has the parts: the engine's commands go out, the status line
//! is set, what is to be kept goes to the store, a setting the theme follows
//! is applied and the warnings are logged; the redraw flags, the notices, the pictures to decode and the
//! streams' capture and decoder are for the slices that have those parts.
//! is applied and the warnings are logged; the redraw flags, the notices, the
//! pictures to decode and the streams' capture and decoder are for the slices
//! that have those parts.
use std::task::Poll;
use std::time::Duration;
@@ -186,7 +187,6 @@ struct WindowKeeper {
opening_reports: u8,
}
/// Give up the foreground thread once, so that GPUI's executor runs what is
/// How many windowed reports of a window opened to be maximized are taken to
/// be the place it opened with, not the user's: the first is the window's
/// own at its creation, the second the configure an X11 window manager may
@@ -195,6 +195,7 @@ struct WindowKeeper {
/// (a tiling one never does).
pub const OPENING_REPORTS: u8 = 2;
/// Give up the foreground thread once, so that GPUI's executor runs what is
/// queued before this task goes on.
async fn yield_now() {
let mut yielded = false;
@@ -1578,7 +1579,6 @@ mod tests {
assert_eq!(kept(cx), WindowState { maximized: true, ..restored });
}
/// A window that was not opened maximized keeps what it reports from the
/// The guard of a window opened to be maximized is for its first reports
/// only: after them what the window reports is the user's even if it was
/// never seen maximized (a window manager that does not maximize, a user
@@ -1613,6 +1613,7 @@ mod tests {
assert_eq!(kept(cx), resized);
}
/// A window that was not opened maximized keeps what it reports from the
/// first report on.
#[gpui::test]
fn a_window_not_opened_maximized_is_kept_from_its_first_report(cx: &mut TestAppContext) {