summaryrefslogtreecommitdiff
path: root/src/renderer/Options.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-03-16 16:03:44 -0700
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-03-19 09:50:54 -0700
commitf34da17a118a98e6bbfa0e7cf6f32ee883254e58 (patch)
tree9176caf7fcdd8fcbbdc81545780d1bd256cdd440 /src/renderer/Options.zig
parentb26e51d2226db0b2123e78b337613457bfee5822 (diff)
renderer: use a DerivedConfig to avoid the main Config pointer
Diffstat (limited to 'src/renderer/Options.zig')
-rw-r--r--src/renderer/Options.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/renderer/Options.zig b/src/renderer/Options.zig
index 7450dd9f2..e7b647924 100644
--- a/src/renderer/Options.zig
+++ b/src/renderer/Options.zig
@@ -5,10 +5,8 @@ const font = @import("../font/main.zig");
const renderer = @import("../renderer.zig");
const Config = @import("../config.zig").Config;
-/// The app configuration. This must NOT be stored by any termio implementation.
-/// The memory it points to is NOT stable after the init call so any values
-/// in here must be copied.
-config: *const Config,
+/// The derived configuration for this renderer implementation.
+config: renderer.Renderer.DerivedConfig,
/// The font group that should be used.
font_group: *font.GroupCache,