File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/PowerShellEditorServices/Services/PowerShell/Console Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 8
8
using System . Collections . Generic ;
9
9
using System . Linq ;
10
10
using System . Management . Automation ;
11
- using System . Management . Automation . Language ;
12
11
using System . Text ;
13
12
using System . Threading ;
13
+ using System . Threading . Tasks ;
14
14
15
15
namespace Microsoft . PowerShell . EditorServices . Services . PowerShell . Console
16
16
{
17
17
using System ;
18
- using System . Threading . Tasks ;
19
18
20
19
internal class LegacyReadLine : TerminalReadLine
21
20
{
@@ -331,6 +330,10 @@ public override string ReadLine(CancellationToken cancellationToken)
331
330
currentCompletion = null ;
332
331
currentHistory = null ;
333
332
333
+ // TODO: Add line continuation support:
334
+ // - When shift+enter is pressed, or
335
+ // - When the parse indicates incomplete input
336
+
334
337
//if ((keyInfo.Modifiers & ConsoleModifiers.Shift) == ConsoleModifiers.Shift)
335
338
//{
336
339
// // TODO: Start a new line!
You can’t perform that action at this time.
0 commit comments