From 7e8ae4262ffb47ba28c59c9b539c25b4f6881aca Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 21 Apr 2022 12:22:06 +0200 Subject: [PATCH] rv::som:: need -kst-keys to use keys in som tests --- rogueviz/som/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/som/tests.cpp b/rogueviz/som/tests.cpp index 7500641c..240ba755 100644 --- a/rogueviz/som/tests.cpp +++ b/rogueviz/som/tests.cpp @@ -1342,7 +1342,7 @@ int readArgs() { auto hooks3 = addHook(hooks_args, 100, readArgs); #endif -auto khook = addHook(hooks_handleKey, 150, kst_key) +auto khook = arg::add3("-kst-keys", [] { rv_hook(hooks_handleKey, 150, kst_key); }) + addHook(hooks_configfile, 100, [] { param_i(ks_empty, "ks_empty", 0); param_i(ks_distant, "ks_distant", 0);