This commit is contained in:
Kovid Goyal 2021-04-01 13:54:20 +05:30
parent 0656a5079a
commit 779a06fa72
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ class Version(NamedTuple):
appname: str = 'kitty'
kitty_face = '🐱'
version: Version = Version(0, 19, 3)
str_version: str = '.'.join(map(str, version))
_plat = sys.platform.lower()

View File

@ -16,7 +16,7 @@ from .cli import (
title
)
from .cli_stub import RCOptions
from .constants import cache_dir, is_macos, version
from .constants import cache_dir, is_macos, version, kitty_face
from .rc.base import (
RemoteCommand, all_command_names, command_for_name,
display_subcommand_help, parse_subcommand_cli
@ -169,7 +169,7 @@ def real_main(global_opts: RCOptions) -> None:
while True:
try:
try:
scmdline = input('🐱 ')
scmdline = input(f'{kitty_face} ')
except UnicodeEncodeError:
scmdline = input('kitty> ')
except EOFError: