diff --git a/src/kmscon_conf.c b/src/kmscon_conf.c index 19672f5..eda166b 100644 --- a/src/kmscon_conf.c +++ b/src/kmscon_conf.c @@ -100,7 +100,7 @@ static void print_help() "\t --xkb-options [-] Set XkbOptions for input devices\n" "\t --xkb-repeat-delay [250]\n" "\t Initial delay for key-repeat in ms\n" - "\t --xkb-repeat-rate [25]\n" + "\t --xkb-repeat-rate [50]\n" "\t Delay between two key-repeats in ms\n" "\n" "\t --grab-scroll-up [Up]\n" @@ -277,7 +277,7 @@ struct conf_option options[] = { CONF_OPTION_STRING(0, "xkb-variant", NULL, &kmscon_conf.xkb_variant, ""), CONF_OPTION_STRING(0, "xkb-options", NULL, &kmscon_conf.xkb_options, ""), CONF_OPTION_UINT(0, "xkb-repeat-delay", NULL, &kmscon_conf.xkb_repeat_delay, 250), - CONF_OPTION_UINT(0, "xkb-repeat-rate", NULL, &kmscon_conf.xkb_repeat_rate, 25), + CONF_OPTION_UINT(0, "xkb-repeat-rate", NULL, &kmscon_conf.xkb_repeat_rate, 50), CONF_OPTION_STRING(0, "font-engine", NULL, &kmscon_conf.font_engine, "pango"), CONF_OPTION_UINT(0, "font-size", NULL, &kmscon_conf.font_size, 12), CONF_OPTION_STRING(0, "font-name", NULL, &kmscon_conf.font_name, "monospace"), diff --git a/src/uterm_input.c b/src/uterm_input.c index 2198c82..23d034e 100644 --- a/src/uterm_input.c +++ b/src/uterm_input.c @@ -248,7 +248,7 @@ int uterm_input_new(struct uterm_input **out, if (repeat_delay >= 1000) repeat_delay = 999; if (!repeat_rate) - repeat_rate = 25; + repeat_rate = 50; if (repeat_rate >= 1000) repeat_rate = 999; diff --git a/src/wlt_main.c b/src/wlt_main.c index 70bd781..253c409 100644 --- a/src/wlt_main.c +++ b/src/wlt_main.c @@ -258,7 +258,7 @@ static void print_help() "Input Options:\n" "\t --xkb-repeat-delay [250]\n" "\t Initial delay for key-repeat in ms\n" - "\t --xkb-repeat-rate [25]\n" + "\t --xkb-repeat-rate [50]\n" "\t Delay between two key-repeats in ms\n", "wlterm"); /* @@ -390,7 +390,7 @@ struct conf_option options[] = { CONF_OPTION_UINT(0, "font-dpi", NULL, &wlt_conf.font_ppi, 96), CONF_OPTION_UINT(0, "xkb-repeat-delay", NULL, &wlt_conf.xkb_repeat_delay, 250), - CONF_OPTION_UINT(0, "xkb-repeat-rate", NULL, &wlt_conf.xkb_repeat_rate, 25), + CONF_OPTION_UINT(0, "xkb-repeat-rate", NULL, &wlt_conf.xkb_repeat_rate, 50), }; int main(int argc, char **argv)