summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-input.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-13 20:06:48 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-13 20:33:39 +0530
commitcf3bc5c2d7764e7303ed76016f211ce0c705ad71 (patch)
treecc235f1f1c675ec8e915bee45dadbc88ae17381f /crawl-ref/source/ng-input.cc
parent6255dafc92c2a4c8d7b4e269b64feb1222e5503a (diff)
downloadcrawl-ref-cf3bc5c2d7764e7303ed76016f211ce0c705ad71.tar.gz
crawl-ref-cf3bc5c2d7764e7303ed76016f211ce0c705ad71.zip
Make ^G equivalent to Escape in all prompts for the Emacs users out there (yours truly included).
Diffstat (limited to 'crawl-ref/source/ng-input.cc')
-rw-r--r--crawl-ref/source/ng-input.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ng-input.cc b/crawl-ref/source/ng-input.cc
index 85f3eecce4..b7d45e76a3 100644
--- a/crawl-ref/source/ng-input.cc
+++ b/crawl-ref/source/ng-input.cc
@@ -116,7 +116,7 @@ static bool _read_player_name(std::string &name)
return (true);
}
- if (ret == CK_ESCAPE)
+ if (key_is_escape(ret))
return (false);
// Go back and prompt the user.