refactor(terminal): add scrollback size configuration option
This commit is contained in:
parent
3e265dade5
commit
f88f779410
2 changed files with 2 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ const Vt = struct {
|
|||
&env,
|
||||
.{
|
||||
.winsize = .{ .rows = rows, .cols = cols, .x_pixel = 0, .y_pixel = 0 },
|
||||
.scrollback_size = 0,
|
||||
.scrollback_size = tui.config().terminal_scrollback_size,
|
||||
.initial_working_directory = blk: {
|
||||
const project = tp.env.get().str("project");
|
||||
break :blk if (project.len > 0) project else home;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue