-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Whitespace Issues with prompt, on VSCode's integrated terminal #79175
Comments
The issue is the emoji, tracked in xtermjs/xterm.js#1709 |
(for folks following via email, I added more information to the comment above) |
@pradyunsg the problem isn't restricted to just emoji but other ambiguous width unicode characters as well. |
nods That makes sense. Would it be possible for you to look into/provide pointers to what change might have affected this, between the June and July releases? I am more than willing to volunteer my time to help resolve this issue. I can confirm that June release works well for me -- I've downgraded for now. |
It's a pretty involved issue that will probably eventually be tackled by @jerch, lots of history you can read on xtermjs/xterm.js#1709 and linked issues/prs. |
Issue Type: Bug
Component: Integrated Terminal
A picture's worth a 1000 words, so here are 2 pictures. :)
VS Code Integrated Terminal:
MacOS's Terminal:
The main difference is when there's an RPROMPT, VS Code's Integrated Terminal does not seem to properly render/add the space that's at the end of the PS1. Both are using the same zsh executable, with the same "Iosevka Nerd Font".
Copy Pasted Text, from these sessions
VS Code:
MacOS Terminal:
VS Code version: Code 1.37.0 (036a6b1, 2019-08-08T01:22:37.660Z)
OS version: Darwin x64 18.6.0
Extensions: none
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: