Add a note about runnning commands from within kitty to the timeout error message

This commit is contained in:
Kovid Goyal 2019-02-18 10:29:04 +05:30
parent f3974671f6
commit ae8076e411
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -80,7 +80,11 @@ read_response(int fd, double timeout, PyObject *ans) {
break;
}
}
PyErr_SetString(PyExc_TimeoutError, "Timed out while waiting to read cmd response");
PyErr_SetString(PyExc_TimeoutError,
"Timed out while waiting to read command response."
" Make sure you are running this command from within the kitty terminal."
" If you want to run commands from outside, then you have to setup a"
" socket with the --listen-on command line flag.");
return false;
}