Use + instead of | to separate modifiers

Although | makes more logical sense, it has another meaning in most
shells.
This commit is contained in:
Isaac Freund 2020-06-01 20:50:22 +02:00
parent 7cadd40051
commit c63420cf45
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -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| {