diff --git a/kittens/ssh/main.py b/kittens/ssh/main.py index 28a873453..c39394685 100644 --- a/kittens/ssh/main.py +++ b/kittens/ssh/main.py @@ -7,6 +7,8 @@ import sys SHELL_SCRIPT = '''\ #!/bin/sh +# macOS ships with an ancient version of tic that cannot read from stdin, so we +# create a temp file for it tmp=$(mktemp /tmp/terminfo.XXXXXX) cat >$tmp << 'TERMEOF' TERMINFO