Skip to content
Snippets Groups Projects
Commit 62049656 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Change cursor to blinking unline using ANSI sequences.

Whee.
parent 7b14d903
No related branches found
No related tags found
No related merge requests found
Pipeline #6921 failed
......@@ -1003,6 +1003,7 @@ int ansi_initio_cb(void)
if (slen > -1)
ansi_writestr_cb(seq, slen);
}
WriteConsoleA(h, "\x1b[3 q", 5, NULL, NULL);
}
atexit(ansi_fixterm);
#else
......
......@@ -796,6 +796,7 @@ void win32_textmode(int mode)
WriteConsoleA(h, seq, slen, NULL, NULL);
}
cio_api.options |= CONIO_OPT_PALETTE_SETTING;
WriteConsoleA(h, "\x1b[3 q", 5, NULL, NULL);
}
}
SetConsoleMode(h, oldmode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment