subscribeToColorSchemeUpdates needs a mutable reference
This commit is contained in:
parent
c89b75ebe3
commit
2cc1eb77f8
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ pub fn queryColor(_: Vaxis, tty: AnyWriter, kind: Cell.Color.Kind) !void {
|
|||
/// capability. Support can be detected by checking the value of
|
||||
/// vaxis.caps.color_scheme_updates. The initial scheme will be reported when
|
||||
/// subscribing.
|
||||
pub fn subscribeToColorSchemeUpdates(self: Vaxis, tty: AnyWriter) !void {
|
||||
pub fn subscribeToColorSchemeUpdates(self: *Vaxis, tty: AnyWriter) !void {
|
||||
try tty.writeAll(ctlseqs.color_scheme_request);
|
||||
try tty.writeAll(ctlseqs.color_scheme_set);
|
||||
self.state.color_scheme_updates = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue