fix: don't insert when in terminal mode
This commit is contained in:
parent
cc6c84be15
commit
43b46d179f
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ pub fn create_with_args(allocator: Allocator, parent: Plane, ctx: command.Contex
|
|||
.env = env,
|
||||
.write_buf = undefined, // managed via self.vt's pty_writer pointer
|
||||
.pty_pid = null,
|
||||
.input_mode = try keybind.mode("terminal", allocator, .{}),
|
||||
.input_mode = try keybind.mode("terminal", allocator, .{ .insert_command = "do_nothing" }),
|
||||
};
|
||||
|
||||
try self.vt.spawn();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue