summaryrefslogtreecommitdiff
path: root/core/dump.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/dump.zig')
-rw-r--r--core/dump.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/dump.zig b/core/dump.zig
index a4fc0f8d..58560645 100644
--- a/core/dump.zig
+++ b/core/dump.zig
@@ -610,7 +610,6 @@ fn reviveSession(p: *Pardes, previous: ?*Pardes, resumed: bool) !void {
p.db = old.db;
old.db = .{};
}
- config.tab_now = p.settings.tab;
// A ThemeFile is a request the host answers by reading the file again;
// until it has (and for good if it fails) the theme the dump had shows.
if (p.theme_file_path.get().len > 0) {
@@ -1001,7 +1000,7 @@ test "a restored pane keeps its dot, as acme's dump keeps a window's" {
const p = try Pardes.init(gpa, .{ .tty_only = true });
defer p.deinit();
const pane = try p.setTestFile("one two three\nfour\n");
- ctlfs.pane.setDot(pane, .{ .q0 = 4, .q1 = 7 });
+ ctlfs.pane.setDot(config.tab_width, pane, .{ .q0 = 4, .q1 = 7 });
try dumpState(p);
const restored = try initFromDump(gpa, .{ .tty_only = true }, p.dump_out.?);
defer restored.deinit();