mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-09 18:14:27 +03:00
Cleanup previous PR
This commit is contained in:
parent
ecdf901c19
commit
892b8c03eb
@ -22,8 +22,8 @@ from .cli_stub import CLIOptions
|
||||
from .conf.utils import BadLine, KeyAction, to_cmdline
|
||||
from .config import common_opts_as_dict, prepare_config_file_for_editing
|
||||
from .constants import (
|
||||
appname, config_dir, is_macos, is_wayland, kitty_exe,
|
||||
supports_primary_selection, website_url, logo_png_file
|
||||
appname, config_dir, is_macos, is_wayland, kitty_exe, logo_png_file,
|
||||
supports_primary_selection, website_url
|
||||
)
|
||||
from .fast_data_types import (
|
||||
CLOSE_BEING_CONFIRMED, GLFW_MOD_ALT, GLFW_MOD_CONTROL, GLFW_MOD_SHIFT,
|
||||
@ -59,7 +59,7 @@ from .utils import (
|
||||
func_name, get_editor, get_new_os_window_size, get_primary_selection,
|
||||
is_path_in_temp_dir, log_error, open_url, parse_address_spec,
|
||||
parse_uri_list, platform_window_id, remove_socket_file, safe_print,
|
||||
set_primary_selection, single_instance, startup_notification_handler
|
||||
set_primary_selection, single_instance, startup_notification_handler, which
|
||||
)
|
||||
from .window import CommandOutput, MatchPatternType, Window
|
||||
|
||||
@ -1281,7 +1281,6 @@ class Boss:
|
||||
|
||||
cmd = list(map(prepare_arg, get_options().scrollback_pager))
|
||||
if not os.path.isabs(cmd[0]):
|
||||
from .utils import which
|
||||
cmd[0] = which(cmd[0]) or cmd[0]
|
||||
|
||||
if os.path.basename(cmd[0]) == 'less':
|
||||
|
Loading…
Reference in New Issue
Block a user