Vertical lines into the terminal box ubuntu18.10

Reference to foreign link
https://stackoverflow.com/questions/4416909/anyway-change-the-cursor-vertical-line-instead-of-a-box

Solutions are as follows:

Add the following sentence in ~ / .bashrc end:

echo -e -n "\x1b[\x30 q" # changes to blinking block
echo -e -n "\x1b[\x31 q" # changes to blinking block also
echo -e -n "\x1b[\x32 q" # changes to steady block
echo -e -n "\x1b[\x33 q" # changes to blinking underline
echo -e -n "\x1b[\x34 q" # changes to steady underline
echo -e -n "\x1b[\x35 q" # changes to blinking bar
echo -e -n "\x1b[\x36 q" # changes to steady bar

And then re-open a terminal on it.

Guess you like

Origin blog.csdn.net/appleyuchi/article/details/91344712