Fix kitty icat broken during the port to Go
This commit is contained in:
parent
f42090766a
commit
31d8a98a45
@ -8,9 +8,8 @@ from typing import List
|
|||||||
|
|
||||||
|
|
||||||
def icat(args: List[str]) -> None:
|
def icat(args: List[str]) -> None:
|
||||||
from kittens.runner import run_kitten as rk
|
from kitty.constants import kitten_exe
|
||||||
sys.argv = args
|
os.execl(kitten_exe(), "kitten", *args)
|
||||||
rk('icat')
|
|
||||||
|
|
||||||
|
|
||||||
def list_fonts(args: List[str]) -> None:
|
def list_fonts(args: List[str]) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user