examples(vt): use shell environment for command
This commit is contained in:
parent
389ac3ef40
commit
9c723bb645
1 changed files with 1 additions and 4 deletions
|
@ -44,10 +44,7 @@ pub fn main() !void {
|
||||||
},
|
},
|
||||||
.scrollback_size = 0,
|
.scrollback_size = 0,
|
||||||
};
|
};
|
||||||
// const shell = env.get("SHELL") orelse "bash";
|
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 argv = [_][]const u8{shell};
|
const argv = [_][]const u8{shell};
|
||||||
var vt = try vaxis.widgets.Terminal.init(
|
var vt = try vaxis.widgets.Terminal.init(
|
||||||
alloc,
|
alloc,
|
||||||
|
|
Loading…
Reference in a new issue