Commit 9957754b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Removed emacs edition flavor (it's now a console attribute).

parent bc6faeba
...@@ -960,8 +960,6 @@ static BOOL WINAPI DEBUG_CtrlCHandler(DWORD dwCtrlType) ...@@ -960,8 +960,6 @@ static BOOL WINAPI DEBUG_CtrlCHandler(DWORD dwCtrlType)
static void DEBUG_InitConsole(void) static void DEBUG_InitConsole(void)
{ {
DWORD mode;
/* keep it as a cuiexe for now, so that Wine won't touch the Unix stdin, /* keep it as a cuiexe for now, so that Wine won't touch the Unix stdin,
* stdout and stderr streams * stdout and stderr streams
*/ */
...@@ -971,10 +969,6 @@ static void DEBUG_InitConsole(void) ...@@ -971,10 +969,6 @@ static void DEBUG_InitConsole(void)
AllocConsole(); AllocConsole();
} }
/* put the line editing mode with the nice emacs features (FIXME: could be triggered by a IVAR) */
if (GetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), &mode))
SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), mode | WINE_ENABLE_LINE_INPUT_EMACS);
/* set our control-C handler */ /* set our control-C handler */
SetConsoleCtrlHandler(DEBUG_CtrlCHandler, TRUE); SetConsoleCtrlHandler(DEBUG_CtrlCHandler, TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment