Mercurial > hg > batmud > ggrtf
changeset 1663:199b9d60dbd4
Tiny code reformat / cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 01 Apr 2022 12:46:57 +0300 |
parents | 1d2ccadfff2a |
children | b180cf6326a6 |
files | ggrtf.tf |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ggrtf.tf Sat Jan 01 19:54:03 2022 +0200 +++ b/ggrtf.tf Fri Apr 01 12:46:57 2022 +0300 @@ -990,7 +990,7 @@ ;; Movement ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Catch movement commands to update the status bar -/def -i -mglob -h'send {n|s|e|w|ne|sw|nw|se|u|d}' prmove_send =\ +/def -i -p9999 -mglob -h"SEND {n|s|e|w|ne|sw|nw|se|u|d}" prmove_send =\ /set prmove_last=%*%;\ /gstatus_update%;\ /send %* @@ -1007,7 +1007,9 @@ ;; Normal movement -/def -i prmove_walk = /set prmove_last=%{1}%;/gstatus_update%;\ +/def -i prmove_walk =\ + /set prmove_last=%{1}%;\ + /gstatus_update%;\ @@$[prgetval(strcat("prmove_trans_",{1}))] ;; Autopeering @@ -1020,6 +1022,7 @@ @@%{set_grepcmd} '(%{set_peer})' peer %{pd1}%;\ @@%{set_grepcmd} '(%{set_peer})' peer %{pd2} + ;; Main handling macro for binding movemement keys, etc. ;@command /move <type> ;@desc Change the meaning of <link linkend="usage-general-prmove">keyboard movement hooks</link>.