diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-14 06:14:34 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-14 06:14:34 +0000 |
commit | 1a1f3147355bf89c94f26108080e618b0919314b (patch) | |
tree | 1a2b847da8f35053aedac45365873da75c5a01ae /crawl-ref/source/libunix.cc | |
parent | 8a76884836d971133fc65427c2ebfadec2d42d96 (diff) | |
download | crawl-ref-1a1f3147355bf89c94f26108080e618b0919314b.tar.gz crawl-ref-1a1f3147355bf89c94f26108080e618b0919314b.zip |
Fix cursor going bats after message window scrolls with delay_message_clear=yes
on Unix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@848 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r-- | crawl-ref/source/libunix.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 00cbed4302..69d1859a53 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -275,6 +275,7 @@ void message_out(int which_line, int color, const char *s, int firstcol, getyx(Message_Window, y, x); scroll(Message_Window); wmove(Message_Window, y - 1, x); + move(y - 1 + VIEW_EY, x); } wrefresh(Message_Window); |