Blame bash-5.2-add-newline.patch
|
Siteshwar Vashisht |
3c98f4 |
diff --git a/lib/readline/rltty.c b/lib/readline/rltty.c
|
|
Siteshwar Vashisht |
3c98f4 |
--- a/lib/readline/rltty.c
|
|
Siteshwar Vashisht |
3c98f4 |
+++ b/lib/readline/rltty.c
|
|
Siteshwar Vashisht |
3c98f4 |
@@ -694,6 +694,8 @@ rl_deprep_terminal (void)
|
|
Siteshwar Vashisht |
3c98f4 |
fprintf (rl_outstream, BRACK_PASTE_FINI);
|
|
Siteshwar Vashisht |
3c98f4 |
if (_rl_eof_found)
|
|
Siteshwar Vashisht |
3c98f4 |
fprintf (rl_outstream, "\n");
|
|
Siteshwar Vashisht |
3c98f4 |
+ else if (_rl_echoing_p == 0)
|
|
Siteshwar Vashisht |
3c98f4 |
+ fprintf (rl_outstream, "\n");
|
|
Siteshwar Vashisht |
3c98f4 |
}
|
|
Siteshwar Vashisht |
3c98f4 |
|
|
Siteshwar Vashisht |
3c98f4 |
if (_rl_enable_keypad)
|