Skip to content

Commit 6ad9c6c

Browse files
authored
Merge pull request jupyter-xeus#164 from Milo46/master
Fix for undefined identifiers in platform.cpp
2 parents 4cdcdf1 + feda5e7 commit 6ad9c6c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#pragma once
2+
3+
#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
4+
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
5+
#endif
6+
7+
#ifndef DISABLE_NEWLINE_AUTO_RETURN
8+
#define DISABLE_NEWLINE_AUTO_RETURN 0x0008
9+
#endif
10+
11+
#ifndef ENABLE_VIRTUAL_TERMINAL_INPUT
12+
#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200
13+
#endif

cpp-terminal/private/platform.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "platform.hpp"
22

3+
#include "inputOutputModeFlags.hpp"
4+
35
bool Term::Private::is_stdin_a_tty() {
46
#ifdef _WIN32
57
return _isatty(_fileno(stdin));

0 commit comments

Comments
 (0)