Is it possible to limit the terminal not to go over a single page? #9632

Open
opened 2026-01-31 01:59:41 +00:00 by claunia · 0 comments
Owner

Originally created by @AnFunctionArray on GitHub (Jul 15, 2020).

I have a code that uses SetConsoleCursorPosition to set a position on the screen and write to it. However sometimes it goes over the window buffer and the terminal scrolls down. Is it possible to restrict this and limit the cursor at the current window.

If it's not I would be grateful if you at least point me in the right direction. I've been tinkering with the source code - limiting cursor positions and scrolls all day (both in my application and lately mostly at the terminal source).

Originally created by @AnFunctionArray on GitHub (Jul 15, 2020). I have a code that uses `SetConsoleCursorPosition` to set a position on the screen and write to it. However sometimes it goes over the window buffer and the terminal scrolls down. Is it possible to restrict this and limit the cursor at the current window. If it's not I would be grateful if you at least point me in the right direction. I've been tinkering with the source code - limiting cursor positions and scrolls all day (both in my application and lately mostly at the terminal source).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9632