summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/spl-book.cc1
-rw-r--r--crawl-ref/source/spl-cast.cc3
2 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index 421a6f6bd5..a28d6c3387 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -912,6 +912,7 @@ unsigned char spellbook_contents( item_def &book, int action,
unsigned char keyn = 0;
if (update_screen)
{
+ cursor_control coff(false);
#ifdef DOS_TERM
char buffer[4800];
gettext(1, 1, 80, 25, buffer);
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 0495670490..2a42308c32 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -90,7 +90,8 @@ char list_spells(void)
bool already = false;
const int num_lines = get_number_of_lines();
-
+ cursor_control coff(false);
+
#ifdef DOS_TERM
char buffer[4800];