diff --git a/cgi.d b/cgi.d index 1566721..8d54843 100644 --- a/cgi.d +++ b/cgi.d @@ -4039,6 +4039,8 @@ void handleCgiRequest(alias fun, CustomCgi = Cgi, long maxContentLength = defaul // Set stdin to binary mode if necessary to avoid mangled newlines + // the fact that stdin is global means this could be trouble but standard cgi request + // handling is one per process anyway so it shouldn't actually be threaded here or anything. version(Windows) { version(Win64) _setmode(std.stdio.stdin.fileno(), 0x8000); diff --git a/terminalemulator.d b/terminalemulator.d index abb2e3a..9ce717b 100644 --- a/terminalemulator.d +++ b/terminalemulator.d @@ -2627,6 +2627,15 @@ P s = 2 3 ; 2 → Restore xterm window title from stack. attentionDemanded = true; demandAttention(); break; + /+ + // this might reduce flickering but would it really? idk. + case "5002": + // disable redraw + break; + case "5003": + // re-enable redraw, force it now. + break; + +/ default: unknownEscapeSequence("" ~ cast(char) esc[1]); }