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

Invalid behavior in Windows Terminal #228

Closed
kindermannhubert opened this issue Nov 21, 2022 · 2 comments · Fixed by #231
Closed

Invalid behavior in Windows Terminal #228

kindermannhubert opened this issue Nov 21, 2022 · 2 comments · Fixed by #231
Assignees
Labels
bug Something isn't working

Comments

@kindermannhubert
Copy link
Collaborator

Submit multiple empty inputs to scroll and then invoke the completion pane:
image
image

This could be causing the strange behavior I saw in CSharpRepl when there are no completions visible (for now I don't know how to reproduce).

@kindermannhubert kindermannhubert added the bug Something isn't working label Nov 21, 2022
@kindermannhubert
Copy link
Collaborator Author

Ok, with the following settings:

Console.WindowWidth = 120;
Console.WindowHeight = 30;
Console.BufferWidth = 120;
Console.BufferHeight = 30;

it happens also in cmd.exe:
image

So it's not WT problem.

From the first experiments, it looks like it starts to happen when more lines are used than the BufferHeight is (or something like that).

@kindermannhubert
Copy link
Collaborator Author

Also reproduced with default settings of Ubuntu terminal.

The problem is that CodePane.CodeAreaHeight is reporting 10 instead of 12 in the following situation:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant