Skip to content

winterm: use field names for Coords - #51

Merged
Brian Goff (cpuguy83) merged 1 commit into
Azure:masterfrom
thaJeztah:use_field_names
Oct 13, 2026
Merged

Brian Goff (cpuguy83) merged 1 commit into
Azure:masterfrom
thaJeztah:use_field_names

Conversation

@thaJeztah

Copy link
Copy Markdown
Contributor

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The mechanical refactor preserves every coordinate value and introduces no functional changes.

0 open findings

What changed in this PR

Updates COORD literals to use explicit field names without changing behavior.

Changes:

  • Replaces positional COORD literals with named X and Y fields.
  • Improves clarity and resilience to struct changes.
File Description
winterm/​win_event_handler.go Names fields in Windows console coordinate literals.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cpuguy83
Brian Goff (cpuguy83) merged commit 51075c6 into Azure:master Oct 13, 2026
5 checks passed
@thaJeztah
Sebastiaan van Stijn (thaJeztah) deleted the use_field_names branch October 13, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants