From 6e1cc1abcff78fb383e25641b0b424bfb1d2ebb4 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 28 Nov 2009 15:06:46 +0100 Subject: Add an option to draw the player cursor manually. Set use_fake_player_cursor = true to use this. This allows defaulting the cursor to off, which means less cursor blinking say when travelling. This patch also moves the cursor control closer to where it's used, so that the cursor is only turned on for actual input prompts. I've definitely missed some prompts here: almost anything that prompts for a single character and reads it using getch() will not have a cursor with use_fake_player_cursor set at the moment. --- crawl-ref/source/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/options.h') diff --git a/crawl-ref/source/options.h b/crawl-ref/source/options.h index 006641fbe3..8467480cdc 100644 --- a/crawl-ref/source/options.h +++ b/crawl-ref/source/options.h @@ -300,6 +300,7 @@ public: bool use_fake_cursor; // Draw a fake cursor instead of relying // on the term's own cursor. + bool use_fake_player_cursor; int level_map_cursor_step; // The cursor increment in the level // map. -- cgit v1.2.3-54-g00ecf