Extra space in terminal when using surrogate pair with oh-my-posh #230310
Labels
terminal-conpty
Integrated terminal issues related to the ConPTY backend
terminal-rendering
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
upstream-issue-linked
This is an upstream issue that has been reported upstream
windows
VS Code on Windows issues
Type: Bug
Describe the problem:
When I use a surrogate pair (such as
\udb80\udced
for thenf-md-calendar
icon), there is an extra space before the trailing diamond and after the content of the segment that does not get styled.See JanDeDobbeleer/oh-my-posh#5706 for original report.
To Reproduce:
Use a surrogate pair in any segment such as below.
VS Code version: Code 1.93.1 (38c31bc, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.22631
Modes: Restricted
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: