mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-12 10:47:05 +02:00
Output OpenGL version in debug config
This commit is contained in:
@@ -17,7 +17,7 @@ from kittens.tui.operations import colored, styled
|
||||
from .child import cmdline_of_pid
|
||||
from .cli import version
|
||||
from .constants import extensions_dir, is_macos, is_wayland, kitty_base_dir, kitty_exe, shell_path
|
||||
from .fast_data_types import Color, SingleKey, num_users, wayland_compositor_data
|
||||
from .fast_data_types import Color, SingleKey, num_users, opengl_version_string, wayland_compositor_data
|
||||
from .options.types import Options as KittyOpts
|
||||
from .options.types import defaults
|
||||
from .options.utils import KeyboardMode, KeyDefinition
|
||||
@@ -246,6 +246,7 @@ def debug_config(opts: KittyOpts) -> str:
|
||||
p(f.read().strip())
|
||||
if not is_macos:
|
||||
p('Running under:', green(compositor_name()))
|
||||
p(green('OpenGL:'), opengl_version_string())
|
||||
p(green('Frozen:'), 'True' if getattr(sys, 'frozen', False) else 'False')
|
||||
p(green('Paths:'))
|
||||
p(yellow(' kitty:'), os.path.realpath(kitty_exe()))
|
||||
|
||||
Reference in New Issue
Block a user