Removed emacs edition flavor (it's now a console attribute).
This commit is contained in:
parent
bc6faeba52
commit
9957754bd8
|
@ -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)
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue