Skip to content

Commit

Permalink
refactor(ansi): rename ReportWindowSizeWinOp to RequestWindowSizeWinOp
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jan 17, 2025
1 parent c8aac7e commit 2351af4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ansi/winop.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ const (
// window.
ResizeWindowWinOp = 4

// ReportWindowSizeWinOp is a window operation that reports the size of the
// terminal window in pixels.
ReportWindowSizeWinOp = 14
// RequestWindowSizeWinOp is a window operation that requests a report of
// the size of the terminal window in pixels. The response is in the form:
// CSI 4 ; height ; width t
RequestWindowSizeWinOp = 14

// RequestCellSizeWinOp is a window operation that requests a report of
// the size of the terminal cell size in pixels. The response is in the form:
Expand Down

0 comments on commit 2351af4

Please sign in to comment.