mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 19:00:27 +00:00
Minor fix to pseudoeletypewriter code
This commit is contained in:
parent
8620a52109
commit
dcdf20db5d
1 changed files with 6 additions and 3 deletions
|
@ -641,15 +641,18 @@ static void PtyDeleteLines(struct Pty *pty) {
|
|||
}
|
||||
|
||||
static void PtyReportDeviceStatus(struct Pty *pty) {
|
||||
PtyWriteInput(pty, "\e[0n", 4);
|
||||
static const char report[] = "\e[0n";
|
||||
PtyWriteInput(pty, report, strlen(report));
|
||||
}
|
||||
|
||||
static void PtyReportPreferredVtType(struct Pty *pty) {
|
||||
PtyWriteInput(pty, "\e[?1;0c", 4);
|
||||
static const char report[] = "\e[?1;0c";
|
||||
PtyWriteInput(pty, report, strlen(report));
|
||||
}
|
||||
|
||||
static void PtyReportPreferredVtIdentity(struct Pty *pty) {
|
||||
PtyWriteInput(pty, "\e/Z", 4);
|
||||
static const char report[] = "\e/Z";
|
||||
PtyWriteInput(pty, report, strlen(report));
|
||||
}
|
||||
|
||||
static void PtyBell(struct Pty *pty) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue