diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-01 20:50:22 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-01 20:50:22 +0200 |
| commit | c63420cf455aba2c4df966d9f46da08325a71751 (patch) | |
| tree | 0f49420d1095e8b9df5420bcbefe499979dda1db | |
| parent | 7cadd400514533f9be896be82c5a57dc338e6ac8 (diff) | |
| download | river-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.zig | 2 |
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| { |
