# HG changeset patch # User Matti Hamalainen # Date 1648806417 -10800 # Node ID 199b9d60dbd4cf02562878fd254a462d22a461b9 # Parent 1d2ccadfff2a72e0a64a2d7fa808337773f6f69b Tiny code reformat / cleanup. diff -r 1d2ccadfff2a -r 199b9d60dbd4 ggrtf.tf --- 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 ;@desc Change the meaning of keyboard movement hooks.