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

Automatic scroll to cursor when writing #43

Open
kindermannhubert opened this issue Dec 17, 2021 · 2 comments
Open

Automatic scroll to cursor when writing #43

kindermannhubert opened this issue Dec 17, 2021 · 2 comments
Assignees

Comments

@kindermannhubert
Copy link
Collaborator

When I scroll down so the cursor is out of the window and start typing, window should scroll back to the cursor.

Problem here is that Console.SetWindowPosition and Console.WindowTop setter are only supported on Windows 😕.

@kindermannhubert
Copy link
Collaborator Author

Ok, now I see that a usable solution could be just to call

Console.CursorTop = Console.CursorTop;

which brings a line with the cursor into the view.

@kindermannhubert
Copy link
Collaborator Author

kindermannhubert commented Mar 12, 2023

Also when I scroll up and then start writing (debug assert fails here) the view already goes back to the current cursor position, but there is not enough space for intellisense.

@kindermannhubert kindermannhubert self-assigned this Mar 25, 2023
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