Skip to content

Commit a434b48

Browse files
committed
Remove unused _set_font code
This code has been unused since commit dee7926.
1 parent dbf45e2 commit a434b48

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

archinstall/lib/translationhandler.py

-13
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
from pathlib import Path
88
from typing import TYPE_CHECKING, Any, override
99

10-
from .output import debug, error
11-
1210
if TYPE_CHECKING:
1311
_: Any
1412

@@ -84,17 +82,6 @@ def _get_translations(self) -> list[Language]:
8482

8583
return languages
8684

87-
def _set_font(self, font: str) -> None:
88-
"""
89-
Set the provided font as the new terminal font
90-
"""
91-
from .general import SysCommand
92-
try:
93-
debug(f'Setting font: {font}')
94-
SysCommand(f'setfont {font}')
95-
except Exception:
96-
error(f'Unable to set font {font}')
97-
9885
def _load_language_mappings(self) -> list[dict[str, str]]:
9986
"""
10087
Load the mapping table of all known languages

0 commit comments

Comments
 (0)