From c63420cf455aba2c4df966d9f46da08325a71751 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 1 Jun 2020 20:50:22 +0200 Subject: [PATCH] Use + instead of | to separate modifiers Although | makes more logical sense, it has another meaning in most shells. --- river/command/map.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/river/command/map.zig b/river/command/map.zig index 90c0b33..3837a6f 100644 --- a/river/command/map.zig +++ b/river/command/map.zig @@ -62,7 +62,7 @@ pub fn map( }; // Parse the modifiers - var it = std.mem.split(args[2], "|"); + var it = std.mem.split(args[2], "+"); var modifiers: u32 = 0; while (it.next()) |mod_name| { for (modifier_names) |def| {