pablo-lamtenzan / miniShell

Implementing (most of) Bash from scracth, supports term-caps, expansion, job control and conditionals.
0 stars 0 forks source link

Term prompt message should be expanded #1

Closed ClemaX closed 3 years ago

ClemaX commented 3 years ago

Issue with ansi escapes and strlen on the prompt message.

Maybe should create special length function for graphic characters.

ClemaX commented 3 years ago

Maybe can fix unicode the same way, using multichar length and reverse multichar length functions