With "set enable-bracketed-paste on" in ~/.inputrc, Ctrl+d overwrites
the prompt instead of placing the word "exit" on the next line.
This is a very minor regression from bash 4 in Debian unstable.
$ bash --version
GNU bash, version 5.0.0(1)-alpha (x86_64-pc-linux-gnu)
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ screen
$ PS1='BASH PROMPT $ '
BASH PROMPT $
exit PROMPT $
=== Command terminated normally (Mon Jul 16 19:45:38 2018) ===
$ bash --version
GNU bash, version 4.4.23(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ screen
$ PS1='BASH PROMPT $ '
BASH PROMPT $
BASH PROMPT $
exit
=== Command terminated normally (Mon Jul 16 19:47:55 2018) ===