Merge branch 'master' into zig-0.14
This commit is contained in:
commit
9b197e7209
3 changed files with 17 additions and 3 deletions
|
@ -847,8 +847,7 @@ const cmds = struct {
|
|||
return error.InvalidShellOutputArgument;
|
||||
const buffer = self.buffer_manager.buffer_from_ref(buffer_ref) orelse return;
|
||||
if (self.get_active_editor()) |editor| if (editor.buffer) |eb| if (eb == buffer) {
|
||||
editor.move_buffer_end(.{}) catch {};
|
||||
editor.insert_chars(command.fmt(.{output})) catch {};
|
||||
editor.smart_buffer_append(command.fmt(.{output})) catch {};
|
||||
tui.need_render();
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue