fixup! refactoring: lineCount => lines
Vladimir Bauer
4 years ago
| 25 | 25 | return err |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | info.CursorPosition.Y -= int16(w.lineCount) | |
| 28 | info.CursorPosition.Y -= int16(w.lines) | |
| 29 | 29 | if info.CursorPosition.Y < 0 { |
| 30 | 30 | info.CursorPosition.Y = 0 |
| 31 | 31 | } |
| 39 | 39 | X: info.Window.Left, |
| 40 | 40 | Y: info.CursorPosition.Y, |
| 41 | 41 | } |
| 42 | count := uint32(info.Size.X) * uint32(w.lineCount) | |
| 42 | count := uint32(info.Size.X) * uint32(w.lines) | |
| 43 | 43 | _, _, _ = procFillConsoleOutputCharacter.Call( |
| 44 | 44 | uintptr(w.fd), |
| 45 | 45 | uintptr(' '), |