-/* $OpenBSD: input.c,v 1.227 2024/08/21 04:17:09 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.228 2024/08/21 04:37:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
* Set the extended key reporting mode as per the client request,
* unless "extended-keys always" forces us into mode 1.
*/
- if (options_get_number(global_options, "extended-keys") == 2)
+ if (options_get_number(global_options, "extended-keys") != 1)
break;
screen_write_mode_clear(sctx,
MODE_KEYS_EXTENDED|MODE_KEYS_EXTENDED_2);
-/* $OpenBSD: options-table.c,v 1.176 2024/08/21 04:17:09 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.177 2024/08/21 04:37:42 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_SERVER,
.choices = options_table_extended_keys_list,
- .default_num = 1,
+ .default_num = 0,
.text = "Whether to request extended key sequences from terminals "
"that support it."
},