ssh kitten: Allow changing terminal colors when connecting

This commit is contained in:
Kovid Goyal
2022-04-08 12:10:59 +05:30
parent c3b23679f3
commit dd331ca12e
5 changed files with 50 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ class Parser:
choices_for_askpass = frozenset(('unless-set', 'ssh', 'native'))
def color_scheme(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['color_scheme'] = str(val)
def copy(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
for k, v in copy(val, ans["copy"]):
ans["copy"][k] = v