Add note regarding the FIFO

This commit is contained in:
Jacob 2023-08-12 02:10:26 +02:00
parent 22baf5d83c
commit 7324b1e084
2 changed files with 10 additions and 0 deletions

View file

@ -750,6 +750,10 @@ You must append **without** a newline. Otherwise it will be considered invalid.
It is recommended that you sleep for 0.1 seconds after appending to the file
for performance reasons.
**NOTE: Please remove /tmp/spmenu.fifo if it exists after usage, especially in
scripts. Otherwise the FIFO action may be carried over to the user's next
spmenu use. If you love your users, do not ignore this warning.**
| Name | Description |
| :----------------- | :-------------------------------------------------------------------------------- |
| drawmenu | Draw the menu |

View file

@ -874,6 +874,12 @@ Otherwise it will be considered invalid.
It is recommended that you sleep for 0.1 seconds after appending to the
file for performance reasons.
.PP
\f[B]NOTE: Please remove /tmp/spmenu.fifo if it exists after usage,
especially in scripts.
Otherwise the FIFO action may be carried over to the user\[cq]s next
spmenu use.
If you love your users, do not ignore this warning.\f[R]
.PP
.TS
tab(@);
lw(12.7n) lw(57.3n).