mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-13 02:21:34 +00:00
Add #ifdef ENABLE_VIRTUAL_TERMINAL_PROCESSING (#14144)
This commit is contained in:
parent
3941218500
commit
3f089c42b2
@ -1912,6 +1912,7 @@ static bool cb_scrhighlight(void *user, void *data) {
|
||||
static int scr_ansicon(void *user, void *data) {
|
||||
RConfigNode *node = (RConfigNode *) data;
|
||||
r_line_singleton ()->ansicon = r_cons_singleton ()->ansicon = node->i_value;
|
||||
# ifdef ENABLE_VIRTUAL_TERMINAL_PROCESSING
|
||||
HANDLE streams[] = { GetStdHandle (STD_OUTPUT_HANDLE), GetStdHandle (STD_ERROR_HANDLE) };
|
||||
DWORD mode;
|
||||
int i;
|
||||
@ -1928,6 +1929,7 @@ static int scr_ansicon(void *user, void *data) {
|
||||
mode & ~ENABLE_VIRTUAL_TERMINAL_PROCESSING);
|
||||
}
|
||||
}
|
||||
# endif
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user