Cygwin: console: Disable xterm mode for non cygwin process only.
- Special function keys such as arrow keys or function keys do not
work in ConEmu with cygwin-connector after commit
6a06c6bc8f
. This patch fixes the
issue.
This commit is contained in:
committed by
Corinna Vinschen
parent
bb30582a99
commit
d7478090d6
@@ -31,19 +31,9 @@ details. */
|
||||
#define ALWAYS_USE_PCON false
|
||||
#define USE_API_HOOK true
|
||||
|
||||
/* Not yet defined in Mingw-w64 */
|
||||
#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
|
||||
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
|
||||
#endif /* ENABLE_VIRTUAL_TERMINAL_PROCESSING */
|
||||
#ifndef DISABLE_NEWLINE_AUTO_RETURN
|
||||
#define DISABLE_NEWLINE_AUTO_RETURN 0x0008
|
||||
#endif /* DISABLE_NEWLINE_AUTO_RETURN */
|
||||
#ifndef PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE
|
||||
#define PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE 0x00020016
|
||||
#endif /* PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE */
|
||||
#ifndef ENABLE_VIRTUAL_TERMINAL_INPUT
|
||||
#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200
|
||||
#endif /* ENABLE_VIRTUAL_TERMINAL_INPUT */
|
||||
|
||||
extern "C" int sscanf (const char *, const char *, ...);
|
||||
extern "C" int ttyname_r (int, char*, size_t);
|
||||
|
Reference in New Issue
Block a user