Resize informs the terminal of a resize event
(width, height int)
| 28 | |
| 29 | // Resize informs the terminal of a resize event |
| 30 | func (w *TermWindow) Resize(width, height int) { |
| 31 | if config.GetGlobalOption("statusline").(bool) { |
| 32 | height-- |
| 33 | } |
| 34 | w.Term.Resize(width, height) |
| 35 | w.Width, w.Height = width, height |
| 36 | } |
| 37 | |
| 38 | func (w *TermWindow) SetActive(b bool) { |
| 39 | w.active = b |
nothing calls this directly
no test coverage detected