examples(vt): use shell environment for command

This commit is contained in:
Tim Culverhouse 2024-06-11 19:09:55 -05:00
parent 389ac3ef40
commit 9c723bb645

View file

@ -44,10 +44,7 @@ pub fn main() !void {
},
.scrollback_size = 0,
};
// const shell = env.get("SHELL") orelse "bash";
const shell = "fish";
// const ed = env.get("EDITOR") orelse "nvim";
// const pager = env.get("EDITOR") orelse "nvim";
const shell = env.get("SHELL") orelse "bash";
const argv = [_][]const u8{shell};
var vt = try vaxis.widgets.Terminal.init(
alloc,