mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-10-31 15:20:13 +00:00
d8cc3569ac
Writing a partial escape can easily lock up a terminal. This is especially relevant when working with bitmaps, as they're thousands or even millions of times longer than a typical escape. Immediately before writing, block SIGINT, SIGQUIT, and SIGTERM in the writing thread, and unblock them upon emerging (at which point we'll immediately see any queued signal get delivered). Don't block signals like SIGSEGV that would seem indicative of actual problems. For this to actually work, all other threads must also have the signals masked; we thus now add them to the signal mask of notcurses_getc(), rather than deleting them. Closes #1416. |
||
---|---|---|
.. | ||
examples | ||
logo | ||
man | ||
analytics-header.html | ||
CONTRIBUTING.md | ||
CURSES.md | ||
Doxyfile | ||
HACKING.md | ||
HISTORY.md | ||
logo-200x55.png | ||
logo-1280x640.png | ||
model.dot | ||
OTHERS.md | ||
proposed-terminfo.md | ||
release-checklist.md | ||
sexblitter-perfection.png | ||
sexblitter-perfection.xcf | ||
testing-checklist.md | ||
widechars.png | ||
worldmap-sexblitter.png | ||
worldmap-sexblitter.xcf |