-
Notifications
You must be signed in to change notification settings - Fork 230
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
Incorrect cursor placement/drawing when highlighting with mouse #328
Comments
Using the windows console directly, I see the behavior of the cursor temporarily moving to the top when marking using the mouse. However, in windows console, as soon as I begin typing, the highlighted selection disappears and the text goes back to the original location at the prompt. When using ConsoleZ, and typing while a section of text is marked, the cursor does not return to the last position as it does in windows console, and the highlighted section remains - this causes the output to appear at the top, rather than at the prompt as it does in windows console. |
It's almost as if ConsoleZ initializes the Mark command on the underlying console, but then does not properly de-initialize Mark when the console does to continue input from the user. |
If that were the case , then the console will remain locked after end of selection. Mark state does no longer exist under Windows 10. What is your OS version? |
I'm using Windows 7 x64 enterprise. I have not yet tried it on Windows 10. |
Expected Behavior
When highlighting text in a console using the mouse, the cursor should remain at the last cursor location and draw at the last cursor location if keys are pressed (either input from the alpha-numeric keys, or history if using the up/down arrow keys).
Windows console (cmd.exe) handles this by first un-selecting text that was highlighted with the mouse, then printing output at the last known cursor location.
Actual Behavior
When using the mouse to highlight text in a console (using cmd.exe in this case) the cursor placement moves to the top of the window and drawing happens at the top of the console window, or not at all.
Steps to reproduce
Diagnostic Report
Crash Report
Not applicable.
The text was updated successfully, but these errors were encountered: