I use Arch Linux with KDE as GUI.
I have recently modified my ~/.bashrc script in order to add some stuff to my user terminal.
Sometimes when I recall last terminal command and changed it, part of this command remains visible and I cannot fully delete it, but if I hit enter, nothing happens, the command is just visible, the input buffer is empty.
After hitting enter, the next line's behavior is as usual. For example:
- I recall last command ->
echo "help please" - I want to use
echo "thanks", so I delete part of it - The output just keeps part of the previous command -->
echo "he, for example - If I hit enter
echo "hedoes not generate an error or print anything (as if this command is only in the output buffer, not a command store). - the next line has regular behavior.
These are the lines I added to ~/.bashrc:
alias ls='ls --color=auto'
alias ll='ls -l'
#PS1='[\u@\h \W]\$ '
PS1=$'[\A \e[0;36m\u@\h\e[m \W]\n
\e[0;36m\u2514\u2500\u2500\u2500>\e[m \$ '
Thanks for the help and Happy New Year!