USAGE: indicate c syntax

This commit is contained in:
nick black 2021-05-25 16:52:21 -04:00
parent bc2acf0ce8
commit de502655c2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -674,7 +674,7 @@ By default, certain keys are mapped to signals by the terminal's line
discipline. This can be disabled with `notcurses_linesigs_disable()`, and discipline. This can be disabled with `notcurses_linesigs_disable()`, and
reenabled with `notcurses_linesigs_enable()`. reenabled with `notcurses_linesigs_enable()`.
``` ```c
// Disable signals originating from the terminal's line discipline, i.e. // Disable signals originating from the terminal's line discipline, i.e.
// SIGINT (^C), SIGQUIT (^\), and SIGTSTP (^Z). They are enabled by default. // SIGINT (^C), SIGQUIT (^\), and SIGTSTP (^Z). They are enabled by default.
int notcurses_linesigs_disable(struct notcurses* n); int notcurses_linesigs_disable(struct notcurses* n);