diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-01 15:16:18 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-01 15:16:18 +0200 |
| commit | 62abfc5ee508a4b4186b120619c7f428ed95fa43 (patch) | |
| tree | 0cd5f61cd8699404c664cc84388f942508e7fe69 /src/command/declare_mode.zig | |
| parent | 70cc3185181109a43871b65771891ce3d733b0fe (diff) | |
| download | river-62abfc5ee508a4b4186b120619c7f428ed95fa43.tar.gz river-62abfc5ee508a4b4186b120619c7f428ed95fa43.tar.xz | |
Rename bind -> map
Diffstat (limited to 'src/command/declare_mode.zig')
| -rw-r--r-- | src/command/declare_mode.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/declare_mode.zig b/src/command/declare_mode.zig index 6cc1489..943ede8 100644 --- a/src/command/declare_mode.zig +++ b/src/command/declare_mode.zig @@ -20,10 +20,10 @@ const std = @import("std"); const c = @import("../c.zig"); const Error = @import("../command.zig").Error; -const Keybind = @import("../Keybind.zig"); +const Mapping = @import("../Mapping.zig"); const Seat = @import("../Seat.zig"); -/// Declare a new keybind mode +/// Declare a new keymap mode pub fn declareMode( allocator: *std.mem.Allocator, seat: *Seat, @@ -47,5 +47,5 @@ pub fn declareMode( try config.mode_to_id.putNoClobber(new_mode_name, config.modes.items.len); errdefer _ = config.mode_to_id.remove(new_mode_name); - try config.modes.append(std.ArrayList(Keybind).init(allocator)); + try config.modes.append(std.ArrayList(Mapping).init(allocator)); } |
