From 7f88e909c649d81467fefa86675c0cfd8f16572d Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Tue, 11 Mar 2025 06:26:08 -0400 Subject: [PATCH] Remove unused _set_font code (#3243) This code has been unused since commit dee792658. --- archinstall/lib/translationhandler.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/archinstall/lib/translationhandler.py b/archinstall/lib/translationhandler.py index 5458329c..195d9de0 100644 --- a/archinstall/lib/translationhandler.py +++ b/archinstall/lib/translationhandler.py @@ -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