mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 11:21:32 +00:00
Add a note about runnning commands from within kitty to the timeout error message
This commit is contained in:
parent
f3974671f6
commit
ae8076e411
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue