curses ^P - support msg_window:full
curses uses 'reversed' (LIFO) style when displaying previous messages. Use the existing (previously tty-only) 'msg_window' option to also support 'full' (FIFO). The actual code needed as just a couple of lines; tweaking options parsing and the documentation was more work.
This commit is contained in:
+5
-4
@@ -1,4 +1,4 @@
|
||||
.\" $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.300 $ $NHDT-Date: 1553204011 2019/03/21 21:33:31 $
|
||||
.\" $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.301 $ $NHDT-Date: 1553480404 2019/03/25 02:20:04 $
|
||||
.\"
|
||||
.\" This is an excerpt from the 'roff' man page from the 'groff' package.
|
||||
.\" NetHack's Guidebook.mn currently does *not* adhere to these guidelines.
|
||||
@@ -24,7 +24,7 @@
|
||||
.ds vr "NetHack 3.6
|
||||
.ds f0 "\*(vr
|
||||
.ds f1
|
||||
.ds f2 "March 19, 2019
|
||||
.ds f2 "March 24, 2019
|
||||
.
|
||||
.\" A note on some special characters:
|
||||
.\" \(lq = left double quote
|
||||
@@ -777,7 +777,7 @@ choices but will accept an accessory and attempt to put that on.)
|
||||
Repeat previous message.
|
||||
.lp ""
|
||||
Subsequent \(oq\(haP\(cqs repeat earlier messages.
|
||||
The behavior can be varied via the
|
||||
For some interfaces, the behavior can be varied via the
|
||||
.op msg_window
|
||||
option.
|
||||
.lp q
|
||||
@@ -3171,7 +3171,8 @@ with \(oq\(haP\(cq) (default 20).
|
||||
Cannot be set with the \(oqO\(cq command.
|
||||
.lp msg_window
|
||||
Allows you to change the way recalled messages are displayed.
|
||||
(It is currently implemented for tty only.)
|
||||
Currently it is only supported for tty (all four choices) and for curses
|
||||
(\(oq\f(CRf\fP\(cq and \(oq\f(CRr\fP\(cq choices, default \(oq\f(CRr\fP\(cq).
|
||||
The possible values are:
|
||||
.sd
|
||||
.si
|
||||
|
||||
+6
-3
@@ -45,7 +45,7 @@
|
||||
%.au
|
||||
\author{Original version - Eric S. Raymond\\
|
||||
(Edited and expanded for 3.6 by Mike Stephenson and others)}
|
||||
\date{March 19, 2019}
|
||||
\date{March 24, 2019}
|
||||
|
||||
\maketitle
|
||||
|
||||
@@ -883,7 +883,8 @@ choices but will accept an accessory and attempt to put that on.)
|
||||
Repeat previous message.\\
|
||||
%.lp ""
|
||||
Subsequent {\tt \^{}P}'s repeat earlier messages.
|
||||
The behavior can be varied via the {\it msg\verb+_+window\/} option.
|
||||
For some interfaces, the behavior can be varied via the
|
||||
{\it msg\verb+_+window\/} option.
|
||||
%.lp
|
||||
\item[\tb{q}]
|
||||
Quaff (drink) something (potion, water, etc).
|
||||
@@ -3484,7 +3485,9 @@ Cannot be set with the `{\tt O}' command.
|
||||
%.lp
|
||||
\item[\ib{msg\verb+_+window}]
|
||||
Allows you to change the way recalled messages are displayed.
|
||||
(It is currently implemented for tty only.) The possible values are:
|
||||
Currently it is only supported for tty (all four choices) and for curses
|
||||
(`{\tt f}' and `{\tt r}' choices, default `{\tt r}').
|
||||
The possible values are:
|
||||
|
||||
%.sd
|
||||
%.si
|
||||
|
||||
+2
-1
@@ -1,4 +1,4 @@
|
||||
$NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.281 $ $NHDT-Date: 1553475022 2019/03/25 00:50:22 $
|
||||
$NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.282 $ $NHDT-Date: 1553480403 2019/03/25 02:20:03 $
|
||||
|
||||
This fixes36.2 file is here to capture information about updates in the 3.6.x
|
||||
lineage following the release of 3.6.1 in April 2018. Please note, however,
|
||||
@@ -644,6 +644,7 @@ when healing magic other than unicorn horn cures blindness, cure deafness too
|
||||
curses: status display substantially revamped for both horizontal (via
|
||||
'align_status:bottom' or 'top') and vertical (via 'align_status:left'
|
||||
or 'right'); 3-line horizontal layout (via 'statuslines:3') added
|
||||
curses: support msg_window:full; default is still msg_window:reversed
|
||||
|
||||
|
||||
NetHack Community Patches (or Variation) Included
|
||||
|
||||
Reference in New Issue
Block a user