Add a note about runnning commands from within kitty to the timeout error message
This commit is contained in:
parent
f3974671f6
commit
ae8076e411
@ -80,7 +80,11 @@ read_response(int fd, double timeout, PyObject *ans) {
|
|||||||
break;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user