Skip to content

Terminal ligatures have limited length even when the font supports longer ligatures #235988

@dragoncoder047

Description

@dragoncoder047

(this appears to be a bug with the new "enable ligatures in terminal" thing that is marked "preview" in settings)

Does this issue occur when all extensions are disabled?: Yes

I am using Fira Code for both the terminal and the editor, which supports "infinite ligatures", one of which is joining multiple #####################'s into one continuous mark by connecting the horizontal strokes.

This works perfectly fine in the editor windows. However when I turn on the ligatures in the terminal, it only works for about ~32 characters before the ligaturized characters vanish.

With ligatures enabled:Image

With ligatures disabled:Image

(these are homebrew install command output btw)

system info

CPUs		Apple M3 (8 x 2400)
GPU Status	2d_canvas: enabled 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 webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off
Load (avg)	2, 2, 2
Memory (System)	16.00GB (0.70GB free)
Process Argv	--crash-reporter-id 3690f944-688a-4ee0-964a-0b264992b30f
Screen Reader	no
VM		0%

this is probably a problem with xterm.js but on the chance that it's with vs code's implementation of ligatures I figured I'd report it here first and let the vs code maintainers decide whether it needs to be reported upstream.

sorry for not using the built-in issue reporter but it won't let me embed an image in the body text 🤷 that is a separate problem

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugterminal-ligaturesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions