hack for easier copy/pasting on easy getline use with mouse

This commit is contained in:
Adam D. Ruppe 2015-11-23 20:42:22 -05:00
parent 55beb6c8da
commit 0fd3d3eef0
1 changed files with 2 additions and 1 deletions

View File

@ -1196,7 +1196,8 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/ms683193%28v=vs.85%29.as
if(prompt !is null) if(prompt !is null)
lineGetter.prompt = prompt; lineGetter.prompt = prompt;
auto line = lineGetter.getline(); auto input = RealTimeConsoleInput(&this, ConsoleInputFlags.raw);
auto line = lineGetter.getline(&input);
// lineGetter leaves us exactly where it was when the user hit enter, giving best // lineGetter leaves us exactly where it was when the user hit enter, giving best
// flexibility to real-time input and cellular programs. The convenience function, // flexibility to real-time input and cellular programs. The convenience function,