Skip to content

Commit 1401130

Browse files
committed
move two variables to 1 place
1 parent 1c00b32 commit 1401130

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

gambaterm/main.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from .console import GameboyColor, Console
1515
from .audio import audio_player
1616
from .colors import detect_local_color_mode, ColorMode
17-
from .remote_terminal import GraphicsProtocol, does_sixel
17+
from .remote_terminal import GraphicsProtocol, _FORCE_SIXEL_BLITLESS, does_sixel
1818
from .graphics_scaler import parse_autoscale
1919
from .keyboard_input import is_kitty_keyboard_protocol_supported
2020
from .input_getter import BaseInputGetter
@@ -173,9 +173,6 @@ def add_local_only_arguments(parser: argparse.ArgumentParser) -> None:
173173
)
174174

175175

176-
_FORCE_SIXEL_BLITLESS = ("contour", "tabby", "konsole", "mlterm")
177-
178-
179176
def detect_graphics_local(
180177
terminal: Terminal,
181178
sv: "SoftwareVersion | None" = None,

gambaterm/remote_terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _detect(self, timeout: float = 3.0) -> KeyboardSupport:
172172
return KeyboardSupport.BASIC
173173

174174

175-
_FORCE_SIXEL_BLITLESS = ("contour", "tabby", "konsole", "mlterm")
175+
_FORCE_SIXEL_BLITLESS = ("contour", "tabby", "konsole", "mlterm", "iterm2")
176176

177177

178178
def detect_graphics_frontend(

0 commit comments

Comments
 (0)