Open fluentmoheshwar opened 1 year ago
Related issue on starship/starship#5439
I would like to note that Integrated Terminal of Visual Studio Code for Linux works fine.
I was searching for this issue for evenings now - bruh. As mentioned here, this issue occurs on Windows but not on linux.
It might also be worth mentioning that this issue only occurs for characters which have a code point above U+FFFF
(i.e. any nerd font glyph which has an ID with more than 4 hexadecimal characters).
Meaning:
The folder icon nf-md-folder
with the code point f024b
will cause this issue, while the (I believe) similar looking icon nf-fa-folder
with code point f07b
(take note that it only has 4 characters) won't:
I'm seeing this as well, with Oh-My-Posh. It looks like the integrated terminal is miscalculating the width of a character string like "\udb84\udfab"
as 2, rather than 1 (it's the UTF-16 representation of a high bit character).
I'm seeing this as well, with Oh-My-Posh. It looks like the integrated terminal is miscalculating the width of a character string like
"\udb84\udfab"
as 2, rather than 1 (it's the UTF-16 representation of a high bit character).
So it's indeed a bug for Visual Studio Code not starship or oh-my-posh
Type: Bug
[username] show_always = true style_user = "bg:#182C61" style_root = "bg:#182C61" format = " $user " disabled = false
[directory] style = "bg:#01579B" format = " $path " truncation_length = 3 truncation_symbol = "…/"
[c] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[python] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[elixir] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[elm] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[git_branch] symbol = "" style = "bg:#16a085 fg:#000000" format = " $symbol $branch "
[git_status] style = "bg:#16a085 fg:#000000" format = "$all_status$ahead_behind "
[golang] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[gradle] style = "bg:#1B5E20" format = " $symbol ($version) "
[haskell] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[java] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[julia] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[nodejs] symbol = "" style = "bg:#1B5E20" format = " $symbol ($version) "
[nim] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[rust] symbol = "" style = "bg:#1B5E20" format = " $symbol ($version) "
[scala] symbol = " " style = "bg:#1B5E20" format = " $symbol ($version) "
[docker_context] symbol = " " style = "bg:#2980b9" format = " $symbol $context $path"
[time] disabled = false time_format = "%r" # Hour:Minute:Seconds AM/PM Format style = "bg:#3F51B5 fg:#000000" format = " $time "
[cmd_duration] style = "bg:#1A237E" min_time = 500 format = " took: $duration "
[status] style = "bg:#2c3e50" symbol = "💔 " success_symbol = "❤️" format = " $symbol$common_meaning$signal_name$maybe_int " map_symbol = true disabled = false
vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931:30280409 vshan820:30294714 vstes263:30335439 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vscccc:30803845 2e4cg342:30602488 89544117:30613380 a9j8j154:30646983 showlangstatbar:30737416 962ge761:30835153 03d35959:30757346 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30821572 dsvsc015cf:30829746