| 137 | ) |
| 138 | |
| 139 | type WindowManipulator interface { |
| 140 | State() WindowState |
| 141 | Minimise() |
| 142 | Maximise() |
| 143 | Restore() |
| 144 | SetTitle(title string) |
| 145 | Position() (int, int) |
| 146 | SizeInPixels() (int, int) |
| 147 | CellSizeInPixels() (int, int) |
| 148 | SizeInChars() (int, int) |
| 149 | ResizeInPixels(int, int) |
| 150 | ResizeInChars(int, int) |
| 151 | ScreenSizeInPixels() (int, int) |
| 152 | ScreenSizeInChars() (int, int) |
| 153 | Move(x, y int) |
| 154 | IsFullscreen() bool |
| 155 | SetFullscreen(enabled bool) |
| 156 | GetTitle() string |
| 157 | SaveTitleToStack() |
| 158 | RestoreTitleFromStack() |
| 159 | ReportError(err error) |
| 160 | } |
| 161 | |
| 162 | func (t *Terminal) csiWindowManipulation(params []string) (renderRequired bool) { |
| 163 |
no outgoing calls
no test coverage detected