Closed homedirectory closed 7 months ago
Pardon, I just realised that the documentation does mention this (it says default: sigterm
, which is a hint).
I had been using the documentation of luv included in NeoVim and I did not have the latest version installed.
There are functions that accept a signal, either an integer or a string, with the latter standing for the signal's name. However, it is not mentioned that the name must be strictly lowercase, which is likely to become a source of confusion (I know that it was for me: I initially used uppercase).
Some examples include:
uv.kill(pid, sidsnum)
uv.process_kill(process, signum)