Cleanup previous PR

Simplify wrapping of toggle_secure_input
Dont duplicate debug_keyboard flag in two places
This commit is contained in:
Kovid Goyal
2022-01-09 22:06:07 +05:30
parent eafd20b4b3
commit 24c44861ef
7 changed files with 17 additions and 22 deletions

View File

@@ -191,7 +191,7 @@ class AppRunner:
def __call__(self, opts: Options, args: CLIOptions, bad_lines: Sequence[BadLine] = ()) -> None:
set_scale(opts.box_drawing_scale)
set_options(opts, is_wayland(), args.debug_keyboard, args.debug_rendering, args.debug_font_fallback)
set_options(opts, is_wayland(), args.debug_rendering, args.debug_font_fallback)
try:
set_font_family(opts, debug_font_matching=args.debug_font_fallback)
_run_app(opts, args, bad_lines)