only slow down to 15 fps

This commit is contained in:
Mitchell Hashimoto
2022-05-21 21:08:26 -07:00
parent 3b7272ef57
commit b0fcbd0c8f

View File

@ -223,7 +223,7 @@ pub fn create(alloc: Allocator, loop: libuv.Loop, config: *const Config) !*Windo
.terminal_stream = .{ .handler = self }, .terminal_stream = .{ .handler = self },
.cursor_timer = timer, .cursor_timer = timer,
.cursor_style = .blinking_block, .cursor_style = .blinking_block,
.render_timer = try RenderTimer.init(loop, self, 16, 96), .render_timer = try RenderTimer.init(loop, self, 16, 64),
.pty_stream = stream, .pty_stream = stream,
.config = config, .config = config,
.bg_r = @intToFloat(f32, config.background.r) / 255.0, .bg_r = @intToFloat(f32, config.background.r) / 255.0,