MongoDB linewrap isn't working. #8003

Open
opened 2026-01-31 01:18:23 +00:00 by claunia · 5 comments
Owner

Originally created by @mikolertesx on GitHub (May 7, 2020).

Environment

Windows build number: [run `[Environment]::Replicable in CMD and Powershell]
Windows Terminal version (if applicable): 0.11.1251.0

Any other software?
None.

Steps to reproduce

Run Mongo in the windows terminal and fill the first line with text.

Expected behavior

Linewrap so that you can continue in the next line.
imagen

Actual behavior

Linewrapping continues over itself.
imagen

Originally created by @mikolertesx on GitHub (May 7, 2020). # Environment ```none Windows build number: [run `[Environment]::Replicable in CMD and Powershell] Windows Terminal version (if applicable): 0.11.1251.0 Any other software? None. ``` # Steps to reproduce Run Mongo in the windows terminal and fill the first line with text. # Expected behavior Linewrap so that you can continue in the next line. ![imagen](https://user-images.githubusercontent.com/13491373/81338865-eb811c00-9072-11ea-87a5-74fc11ff48f8.png) # Actual behavior Linewrapping continues over itself. ![imagen](https://user-images.githubusercontent.com/13491373/81338669-a0670900-9072-11ea-8e1f-13cff8e4c5b5.png)
claunia added the Issue-BugArea-ServerProduct-ConptyImpact-CorrectnessPriority-2 labels 2026-01-31 01:18:24 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (May 7, 2020):

Under the debugger (on the PTY) I'm seeing mongo consistently shift the cursor one line up from where it belongs. This reproduces in OpenConsole without Terminal (!) but the behavior is slightly different. It clears the new line instead of overstriking it.

@DHowett-MSFT commented on GitHub (May 7, 2020): Under the debugger (on the PTY) I'm seeing mongo _consistently_ shift the cursor one line up from where it belongs. This reproduces in OpenConsole without Terminal (!) but the behavior is slightly different. It clears the new line instead of overstriking it.
Author
Owner

@zadjii-msft commented on GitHub (May 7, 2020):

@DHowett-MSFT what happens in conhost if the buffer is the same size as the viewport?

@zadjii-msft commented on GitHub (May 7, 2020): @DHowett-MSFT what happens in conhost if the buffer is the same size as the viewport?
Author
Owner

@DHowett-MSFT commented on GitHub (May 7, 2020):

No change. I'm gonna call me repro in openconsole spurious, actually.

It tries to move the cursor up to the beginning of its input and redraw the entire thing when it wraps; it seems like it's creeping upwards because the cursor position it sets is Y-=1 each time . . .

@DHowett-MSFT commented on GitHub (May 7, 2020): No change. I'm gonna call me repro in openconsole spurious, actually. It tries to move the cursor up to the beginning of its input and redraw the entire thing when it wraps; it seems like it's creeping upwards because the cursor position it sets is Y-=1 each time . . .
Author
Owner

@mikolertesx commented on GitHub (May 8, 2020):

What tags should I put in this post?
I'm new to this :p.

@mikolertesx commented on GitHub (May 8, 2020): What tags should I put in this post? I'm new to this :p.
Author
Owner

@DHowett-MSFT commented on GitHub (May 8, 2020):

Oh, don’t worry about that. We will handle the tags :)

Thanks for the report!

@DHowett-MSFT commented on GitHub (May 8, 2020): Oh, don’t worry about that. We will handle the tags :) Thanks for the report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8003