aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-06-01 20:50:22 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-06-01 20:50:22 +0200
commitc63420cf455aba2c4df966d9f46da08325a71751 (patch)
tree0f49420d1095e8b9df5420bcbefe499979dda1db
parent7cadd400514533f9be896be82c5a57dc338e6ac8 (diff)
downloadriver-c63420cf455aba2c4df966d9f46da08325a71751.tar.gz
river-c63420cf455aba2c4df966d9f46da08325a71751.tar.xz
Use + instead of | to separate modifiers
Although | makes more logical sense, it has another meaning in most shells.
-rw-r--r--river/command/map.zig2
1 files changed, 1 insertions, 1 deletions
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| {