From cf72d214ea56a4198e4fd9817cde7c7bef45622f Mon Sep 17 00:00:00 2001 From: zelgadis Date: Sun, 21 Dec 2008 06:37:39 +0000 Subject: If the user presses ESC in response to --more-- then automatically clear all --more--s until the player can enter a command again, the player gets a prompt, or an error message is given. Move where activity is interrupted on error messages, and also do that for error messages sent through formatted_mpr(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7893 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/acr.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/acr.cc') diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index f8b9d9572f..e87e5ab535 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1524,6 +1524,9 @@ static void _input() return; } + // Stop autoclearing more now that we have control back. + reset_more_autoclear(); + if (need_to_autopickup()) autopickup(); -- cgit v1.2.3-54-g00ecf