<div dir="ltr"><div dir="ltr">hey all,<div><br></div><div>I've been trying to get unicode in the prompt like all the cool kids are doing these days. I created a gist based on my attempts with the prompt configuration tool oh my posh (at <a href="https://github.com/JanDeDobbeleer/oh-my-posh3" target="_blank">https://github.com/JanDeDobbeleer/oh-my-posh3</a>)</div><div><br></div><div>my gist:</div><div><a href="https://gist.github.com/amoldeshpande/8b95c58b94fe2278b65ba10e44e5a27e" target="_blank">https://gist.github.com/amoldeshpande/8b95c58b94fe2278b65ba10e44e5a27e</a><br></div><div><br></div><div>However, even on Linux  (WSL2 in Windows), setting the prompt this way seems to mess up the editing.  backward-delete-word , line erase etc. don't quite work reliably. They erase more than required (visually. the actual command itself is intact in the shell's buffer)</div><div><br></div><div>Anyone have experience with this ? </div><div><br></div><div>For Linux, should I be setting my locale somehow  to enable unicode in the term ? I am assuming it should just work.</div><div><br></div><div><div> From stepping through on Windows it looks like the calculations for cursor location are messed up by UTF8.  But that's a whole different thing I'm struggling with, so I'm not sure it's related. Doesn't Unix use UTF-32 anyway ?</div><div><br></div><div>BTW, gmail has been ghosting this mailing list for me (I do seem to get replies to threads though), so please feel free to email me directly if anything needs my attention.  I'm in the process of setting up a different email.</div><div><br></div><div>thanks and Happy Holidays to all</div><div><br></div><div>regards,</div><div>-amol</div></div></div></div>