Retry failing stty on startup (9 times)
Retry failing stty on startup (9 times)

check_screen_size at beginning so we are sure stty gives correct output to save_tty_settings (even though I think it isn't really necessary).
Check that saved_tty_settings is set before restoring (in case of early quit).

Only two integers separated by one space is considered correct output from `stty size`.

tingstad/dotfiles,tingstad/dotfiles