Difference between revisions of "Esc"

From NetHackWiki
Jump to navigation Jump to search
m (first info.)
 
(Rewording for clarity)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''Esc'''-key is used to cancel prompts. What happens then depends on the prompt that was cancelled. For example:
+
The '''Esc''' (or '''Escape''') key is used to cancel prompts. What happens then depends on the prompt that was canceled. For example:
*[[wish]]ing prompt will give you a random item.
+
*Canceling a [[wish]] prompt will cause you to wish for a random item.
*<tt>--more--</tt> prompt in the TTY windowport will suppress the rest of the messages.
+
*In the TTY windowport, canceling a <tt>--more--</tt> prompt suppresses the rest of the messages, though you may still [[repeat previous messages]] to see them.
 +
 
 +
On [[NAO]], [[NetHack]] has been [[patch]]ed to make Esc clear the input, and only the second Esc cancels.
 +
 
 +
Instead of pressing Esc once per turn at the <tt>--more--</tt> prompt, it's better to configure your [[MSGTYPE]] options in your config file to hide unimportant messages.  
  
 
[[Category:User interface]]
 
[[Category:User interface]]

Latest revision as of 00:52, 7 April 2024

The Esc (or Escape) key is used to cancel prompts. What happens then depends on the prompt that was canceled. For example:

  • Canceling a wish prompt will cause you to wish for a random item.
  • In the TTY windowport, canceling a --more-- prompt suppresses the rest of the messages, though you may still repeat previous messages to see them.

On NAO, NetHack has been patched to make Esc clear the input, and only the second Esc cancels.

Instead of pressing Esc once per turn at the --more-- prompt, it's better to configure your MSGTYPE options in your config file to hide unimportant messages.