Remove unused _set_font code (#3243)

This code has been unused since commit dee792658.
This commit is contained in:
correctmost 2025-03-11 06:26:08 -04:00 committed by GitHub
parent 0b0dc76558
commit 7f88e909c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 13 deletions

View File

@ -7,8 +7,6 @@ from dataclasses import dataclass
from pathlib import Path
from typing import TYPE_CHECKING, Any, override
from .output import debug, error
if TYPE_CHECKING:
_: Any
@ -84,17 +82,6 @@ class TranslationHandler:
return languages
def _set_font(self, font: str) -> None:
"""
Set the provided font as the new terminal font
"""
from .general import SysCommand
try:
debug(f'Setting font: {font}')
SysCommand(f'setfont {font}')
except Exception:
error(f'Unable to set font {font}')
def _load_language_mappings(self) -> list[dict[str, str]]:
"""
Load the mapping table of all known languages