Score:0

Custom bash prompt bugs at end of line

cf flag

I made a custom bash prompt, but after a few characters it deletes the whole line and enters my text on empty line.

Here's my prompt code:

PS1="\e[0;34m•\e[0m \u\e[0;34m~\e[0mcatshell \e[0;34m\w\e[0m : "
ng flag
It works fine here. Looks like `• michael~catshell ~ :`
ng flag
There is nothing in your prompt that causes cursor movement, deleting or overwriting characters, adding a newline, etc. I'm thinking the issue isn't your prompt.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.