Fix kitty icat broken during the port to Go

This commit is contained in:
Kovid Goyal 2023-03-08 20:47:17 +05:30
parent f42090766a
commit 31d8a98a45
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -8,9 +8,8 @@ from typing import List
def icat(args: List[str]) -> None:
from kittens.runner import run_kitten as rk
sys.argv = args
rk('icat')
from kitty.constants import kitten_exe
os.execl(kitten_exe(), "kitten", *args)
def list_fonts(args: List[str]) -> None: