From 2f219cada0693176113e00966a66ab057e0cba19 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 30 Sep 2020 23:45:27 +0100 Subject: [PATCH] Add wrc basic copying Signed-off-by: Ian Jackson --- templates/script.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/script.ts b/templates/script.ts index 50514302..446de6f9 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -47,9 +47,11 @@ type Pos = [number, number]; type ClientSeq = number; type Generation = number; type UoKind = "Global"| "Piece" | "ClientExtra" | "GlobalExtra"; +type WhatResponseToClientOp = "Predictable" | "Unpredictable" | "UpdateSVG"; type UoDescription = { kind: UoKind; + wrc: WhatResponseToClientOp, def_key: string, opname: string, desc: string, @@ -670,6 +672,7 @@ function recompute_keybindings() { opname: 'wrest', desc: 'Enter wresting mode', targets: null, + wrc: 'Predictable', } var uo_keys = Object.keys(uo_map); uo_keys.sort(function (ak,bk) { -- 2.30.2