Le 29.10.20 à 06:54, Clark Wang a écrit :
>
> I can reproduce the similar issue with my bash 4.4.12 and PS0="\[\e[0m\]"
> fix it for me.
>
> -clark
>
I had to change at one point the PS0="\[\e[0m\] to PS0="\[\e[38;5;15m\].
I tried again, it shows correctly the output of a command (grey is ok f
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -flto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/
PROMPT.
Repeat-By:
~$ PS1='a\nb\nc\nd$ '
a
b
c
d$
GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin)
d$
This was also tested on 4.3 and the bug occurred as well.
Best regards,
--
Arnaud Gaillard
El Magnifico
mplicit-function-declaration
-fdebug-prefix-map=/usr/src/bash-4.4.12-3.i686/build=/usr/src/debug/bash-4.4.12-3
-fdebug-prefix-map=/usr/src/bash-4.4.12-3.i686/src/bash-4.4=/usr/src/debug/bash-4.4.12-3
-Wno-parentheses -Wno-format-security
uname output: CYGWIN_NT-6.1-WOW Arnaud-PC 2.8.1(0.312/5/3) 2