Don't let hit_return_msg() fill the screen on focus events.
commita90f1a2377ab8c796a67628afa932c0a1d174cf7
authorBram Moolenaar <Bram@moolenaar.net>
Mon, 29 Oct 2007 18:28:31 +0000 (29 19:28 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Mon, 29 Oct 2007 18:28:31 +0000 (29 19:28 +0100)
treec5612c30219cf14e389cc5b865e8e11b4c354f73
parent0d3bbe1d7ae8af5ee4fe6ebd55892674b89ca087
Don't let hit_return_msg() fill the screen on focus events.

The "Press ENTER ..." would display on a new line each time focus was
lost/gained when FocusLost/FocusGained autocommands were applied.  Fix this by
checking if message is on the last line and display on same line if so.
src/message.c