mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Fix kitty icat broken during the port to Go
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user