Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] dwCursorPosition.Y returns row in history #15

Open
Js-Brecht opened this issue Nov 6, 2019 · 0 comments
Open

[Windows] dwCursorPosition.Y returns row in history #15

Js-Brecht opened this issue Nov 6, 2019 · 0 comments

Comments

@Js-Brecht
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant