X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/73feed4f401660e3374ea0f783ae7b7c6ea4c0c8..4494be0aa8c4b88c1c9c46318fcbf23e9f47f3d6:/config.c diff --git a/config.c b/config.c index 7898c7a8..99882a17 100644 --- a/config.c +++ b/config.c @@ -362,6 +362,7 @@ static void sessionsaver_handler(union control *ctrl, void *dlg, dlg_end(dlg, 1); } else dlg_beep(dlg); + return; } /* @@ -1233,6 +1234,9 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist, s = ctrl_getset(b, "Window/Colours", "general", "General options for colour usage"); + ctrl_checkbox(s, "Allow terminal to specify ANSI colours", 'i', + HELPCTX(colours_ansi), + dlg_stdcheckbox_handler, I(offsetof(Config,ansi_colour))); ctrl_checkbox(s, "Bolded text is a different colour", 'b', HELPCTX(colours_bold), dlg_stdcheckbox_handler, I(offsetof(Config,bold_colour)));