From 2404e15e72dcf12395f914bc933faeaaa6e8be33 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 11 Feb 2020 03:42:06 -0500 Subject: Check if VDSUSP exists --- ui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui.c b/ui.c index 6c9606d..d3c5322 100644 --- a/ui.c +++ b/ui.c @@ -176,7 +176,9 @@ static void acquireKeys(void) { term.c_iflag &= ~IXON; term.c_cc[VINTR] = _POSIX_VDISABLE; term.c_cc[VSUSP] = _POSIX_VDISABLE; +#ifdef VDSUSP term.c_cc[VDSUSP] = _POSIX_VDISABLE; +#endif term.c_cc[VDISCARD] = _POSIX_VDISABLE; error = tcsetattr(STDOUT_FILENO, TCSADRAIN, &term); if (error) err(EX_OSERR, "tcsetattr"); -- cgit 1.4.0 his.form.submit();'> dontfiles
summary refs log tree commit diff
path: root/bin/1sh/1sh-printf.1 (unfollow)
Commit message (Collapse)Author
2019-12-19Avoid matching := assignments as tagsJune McEnroe
2019-12-18Hide line numbers when rendering mdocJune McEnroe
Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table.
2019-12-18Customize cgit CSSJune McEnroe
2019-12-18Use :target rather than :focus pseudo-classJune McEnroe
:target persists after you click on something else.
2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe
2019-12-18Add git.causal.agency cgit configJune McEnroe
2019-12-18Bail from hi if input is binaryJune McEnroe
NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc.
2019-12-16Post "cgit setup"June McEnroe