Integrated Terminal Rendering Issue with Starship Prompt in VSCode #236133
Labels
info-needed
Issue requires more information from poster
terminal-conpty
Integrated terminal issues related to the ConPTY backend
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
windows
VS Code on Windows issues
Type: Bug
I'm encountering an issue with the integrated terminal in VSCode when using the Starship prompt. The
$username
and$directory
portion of the prompt appears with extra blank spaces, which do not appear in Windows Terminal with the same configuration.Steps to Reproduce:
Expected Behavior:
Actual Behavior:
$user
and$directory
section of the prompt in the integrated terminal.Environment:
VS Code version: Code 1.96.0 (138f619, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:
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
starship config:
"$schema" = 'https://starship.rs/config-schema.json'
format = """
$os
$username
[](bg:yellow fg:red)
$directory
[](fg:yellow bg:green)
$git_branch
$git_status
[](fg:green bg:cyan)
$c
$nodejs
$python
[](fg:cyan bg:bright_black)
$time
$line_break$character"""
palette = 'caramel_light'
[palettes.caramel_light]
black='#3B302C'
red='#C85A54'
green='#7C9A62'
yellow='#D6AA5A'
blue='#89A5C7'
magenta='#B58696'
cyan='#6CA9A6'
white='#F5F0E6'
bright_black='#6D5E55'
bright_red='#D3756D'
bright_green='#98B27D'
bright_yellow='#E2BC76'
bright_blue='#A3BDD3'
bright_magenta='#C79DA6'
bright_cyan='#8ABBB8'
bright_white='#FFFFFF'
[os]
disabled = false
style = "bg:red fg:white"
[os.symbols]
Windows = ""
Ubuntu = ""
SUSE = ""
Raspbian = ""
Mint = ""
Macos = ""
Manjaro = ""
Linux = ""
Gentoo = ""
Fedora = ""
Alpine = ""
Amazon = ""
Android = ""
Arch = ""
Artix = ""
EndeavourOS = ""
CentOS = ""
Debian = ""
Redhat = ""
RedHatEnterprise = ""
[username]
show_always = true
style_user = "bg:red fg:white"
style_root = "bg:red fg:white"
format = ' $user '
[directory]
style = "fg:black bg:yellow"
format = " $path "
truncation_length = 3
truncation_symbol = "…/"
[directory.substitutions]
"Documents" = " "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
"project" = " "
[git_branch]
symbol = ""
style = "bg:cyan"
format = '[ $symbol $branch ](fg:white bg:green)'
[git_status]
style = "bg:cyan"
format = '[($all_status$ahead_behind )](fg:white bg:green)'
[nodejs]
symbol = ""
style = "bg:red"
format = '[ $symbol( $version) ](fg:red bg:red)'
[c]
symbol = " "
style = "bg:red"
format = '[ $symbol( $version) ](fg:red bg:red)'
[python]
symbol = ""
style = "bg:cyan"
format = '[ $symbol( $version) ](fg:black bg:cyan)'
[time]
disabled = false
time_format = "%I:%M %P|%a %b %d %Y"
style = "bg:bright_black"
format = '[ $time ](fg:white bg:bright_black)'
[line_break]
disabled = false
[character]
disabled = false
success_symbol = '[](bold fg:green)'
error_symbol = '[](bold fg:red)'
vimcmd_symbol = '[](bold fg:green)'
vimcmd_replace_one_symbol = '[](bold fg:blue)'
vimcmd_replace_symbol = '[](bold fg:blue)'
vimcmd_visual_symbol = '[](bold fg:yellow)'
The text was updated successfully, but these errors were encountered: