From 1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2 Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 28 Aug 2025 10:51:06 +0200 Subject: quick fix --- src/c_hardflip.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/c_hardflip.go') diff --git a/src/c_hardflip.go b/src/c_hardflip.go index d808792..b09a150 100644 --- a/src/c_hardflip.go +++ b/src/c_hardflip.go @@ -68,14 +68,16 @@ type HardData struct { keys [][2]string insert *HostNode yank *ItemsNode + n_arg bool + s_arg bool } func main() { - var n_opt, _ bool + var n_arg, s_arg bool if len(os.Args) > 1 { - n_opt, _ = c_cli_opts() + n_arg, s_arg = c_cli_opts() } data_dir := c_get_data_dir(nil) - i_ui(data_dir, n_opt) + i_ui(data_dir, n_arg, s_arg) } -- cgit v1.2.3