mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Fix changing colours in Change Settings.
Sinceca9cd983e1
, changing colour config mid-session had no effect (until the palette was reset for some other reason). Now it does take effect immediately (provided that the palette has not been overridden by escape sequence -- this is new withca9cd983e1
). This changes the semantics of palette_reset(): the only important parameter when doing that is whether we keep escape sequence overrides -- there's no harm in re-fetching config and platform colours whether or not they've changed -- so that's what the parameter becomes (with a sense that doesn't require changing the call sites). The other part of this change is actually remembering to trigger this when the configuration is changed.
This commit is contained in:
2
putty.h
2
putty.h
@ -1790,7 +1790,7 @@ void term_keyinputw(Terminal *, const wchar_t * widebuf, int len);
|
||||
void term_get_cursor_position(Terminal *term, int *x, int *y);
|
||||
void term_setup_window_titles(Terminal *term, const char *title_hostname);
|
||||
void term_notify_minimised(Terminal *term, bool minimised);
|
||||
void term_notify_palette_overrides_changed(Terminal *term);
|
||||
void term_notify_palette_changed(Terminal *term);
|
||||
void term_notify_window_pos(Terminal *term, int x, int y);
|
||||
void term_notify_window_size_pixels(Terminal *term, int x, int y);
|
||||
void term_palette_override(Terminal *term, unsigned osc4_index, rgb rgb);
|
||||
|
Reference in New Issue
Block a user