Start work on porting unicode input kitten to Go

This commit is contained in:
Kovid Goyal
2023-02-09 19:07:55 +05:30
parent a2e4efbb14
commit 53e33a80ba
20 changed files with 39037 additions and 76658 deletions

View File

@@ -589,11 +589,10 @@ def handle_result(args: List[str], current_char: str, target_window_id: int, bos
if __name__ == '__main__':
ans = main(sys.argv)
if ans:
print(ans)
raise SystemExit('This should be run as kitten unicode_input')
elif __name__ == '__doc__':
cd = sys.cli_docs # type: ignore
cd['usage'] = usage
cd['options'] = OPTIONS
cd['help_text'] = help_text
cd['short_desc'] = 'Browse and select unicode characters by name'