Report the PTY's pixel extents in ?2048 and CSI 14/16 t #144
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!144
Loading…
Reference in a new issue
No description provided.
Delete branch "grid/report-pixel-extents"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every Textual app with mouse support crashed on its first click under felis. Textual turns on SGR-pixel mouse reporting (
?1016) whenever?2048is supported, and converts each report back to cells by dividing by the pixel extents of theCSI 48 tnotification, which felis sent as0.The line this draws: a program may learn the PTY's own geometry, pixels included, but not desktop facts. The PTY has one winsize, the size owner's, and
TIOCGWINSZalready hands it to any program on the PTY, so restating it discloses nothing.Commits
TIOCGWINSZearly saw the default.?2048notification (closes #143).MAX_GRID_PIXELS.0= unknown.CSI 14 tand16 tfrom the PTY's winsize.CSI 13 t(window position) and15 t(screen size) stay0;0. REQ-900 and REQ-900a are adjusted, and the security model'sCSI tclassification is rewritten.Verification
cargo nexteston felis-daemon and felis-grid: all pass. Acargo checkof the whole workspace andclippyon both crates are clean.TIOCGWINSZracing the resize, and a zero or over-bound fill. The final round, covering design and code together, passed, and its two non-blocking findings are folded in.Unblocks #131 (
send --mouse).