get-cursor-position icon indicating copy to clipboard operation
get-cursor-position copied to clipboard

[Windows] dwCursorPosition.Y returns row in history

Open Js-Brecht opened this issue 6 years ago • 0 comments

dwCursorPosition.Y returns the current row position in the terminal's history. So if I have a terminal with a history greater than the size of the window, and the current row in the terminal buffer exceeds the size of the window, too, then the current row on the screen will never be accurate.

Any ideas how to work around that problem? I'm having trouble figuring it out. The Window's APIs don't really seem to care about where you land in the terminal window, just the buffer.

Js-Brecht avatar Nov 06 '19 22:11 Js-Brecht