Don't let hit_return_msg() fill the screen on focus events.
commitd52a4b54ffee01718833255cd4531b1d5a427edb
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)
tree40aaae1049453847b9be32dead3ac5dc8ea26532
parent0d94ed2ff3123dfee7b3996d0f64b900d47f8952
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