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

Splitted terminal resize display error #77579

Closed
clementNieto opened this issue Jul 18, 2019 · 5 comments
Closed

Splitted terminal resize display error #77579

clementNieto opened this issue Jul 18, 2019 · 5 comments
Assignees
Labels
*as-designed Described behavior is as designed terminal Integrated terminal issues

Comments

@clementNieto
Copy link

Issue Type: Bug

When you use the mouse to resize one of the splitted terminal part, the text do not move, the previouse display is'nt erased and the new display overwrite
the previous without cleared it.

In simple words, the two splitted terminal's display fuse when resized

VS Code version: Code 1.35.1 (c7d83e5, 2019-06-12T14:27:31.086Z)
OS version: Linux x64 4.18.0-25-generic

System Info
Item Value
CPUs AMD Ryzen 5 2400G with Radeon Vega Graphics (8 x 2037)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
surface_synchronization: enabled_on
video_decode: unavailable_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 13.71GB (4.18GB free)
Process Argv --unity-launch
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
python ms- 2019.6.24221
@vscodebot vscodebot bot added the terminal Integrated terminal issues label Jul 18, 2019
@clementNieto
Copy link
Author

bug_vscode
bug_vscode_2

@clementNieto
Copy link
Author

bug_vscode_3

@clementNieto
Copy link
Author

clementNieto commented Jul 19, 2019

They are pottentially two things to adjust:

The first one is the fact that some newline ('\n') pop when you resized the splitted terminal.
The second one must be an error with the framerate.

For exemple, when you use 'clear', sometimes some line persist on the terminal
vs_code_bug_4
.
(On the right side of the screen shot)

@clementNieto
Copy link
Author

vscode_BUG

Also, they are some errors when you use some unicode characters:
In this exemple, I didn't press the spacebar, and this bug exist only on vscode and is not on my default terminal. The caracter was obtained using (ctrl+Maj+u , 2795 , enter)

@Tyriar
Copy link
Member

Tyriar commented Aug 10, 2019

Closing as designed, when you resize the terminal and it goes into the prompt the shell redraws the shell over multiple lines, resizing back doesn't clear out the old wrapped lines and move the cursor up though. This happens in other terminals too.

Most unicode issues are due to xtermjs/xterm.js#1709

@Tyriar Tyriar closed this as completed Aug 10, 2019
@Tyriar Tyriar added the *as-designed Described behavior is as designed label Aug 10, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

2 participants