Re: Weird command line editing issues with Bash
Michael Grant <mgrant-q2t/[email protected]> Thu, 09 Nov 2023 16:17:40 -0500
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
------MSNBX2UB2BIZ9WOS6MLXLX9RC0D8SO Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Note: Wrapping the tput output in \[ \] is recommended by the Bash man pag= e=2E This helps Bash ignore non-printable characters so that it correctly c= alculates the size of the prompt=2E https://wiki=2Earchlinux=2Eorg/title/Bash/Prompt_customization ------MSNBX2UB2BIZ9WOS6MLXLX9RC0D8SO Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><body><div dir=3D"auto"><br>Note: Wrapping the tput ou= tput in \[ \] is recommended by the Bash man page=2E This helps Bash ignore= non-printable characters so that it correctly calculates the size of the p= rompt=2E<br><br><a href=3D"https://wiki=2Earchlinux=2Eorg/title/Bash/Prompt= _customization">https://wiki=2Earchlinux=2Eorg/title/Bash/Prompt_customizat= ion</a><br></div></body></html> ------MSNBX2UB2BIZ9WOS6MLXLX9RC0D8SO--