Skip to content

Commit f9e35f3

Browse files
committed
Add comment about unimplemented line continuation support
1 parent 9be9cce commit f9e35f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/PowerShellEditorServices/Services/PowerShell/Console/LegacyReadLine.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
using System.Collections.Generic;
99
using System.Linq;
1010
using System.Management.Automation;
11-
using System.Management.Automation.Language;
1211
using System.Text;
1312
using System.Threading;
13+
using System.Threading.Tasks;
1414

1515
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Console
1616
{
1717
using System;
18-
using System.Threading.Tasks;
1918

2019
internal class LegacyReadLine : TerminalReadLine
2120
{
@@ -331,6 +330,10 @@ public override string ReadLine(CancellationToken cancellationToken)
331330
currentCompletion = null;
332331
currentHistory = null;
333332

333+
// TODO: Add line continuation support:
334+
// - When shift+enter is pressed, or
335+
// - When the parse indicates incomplete input
336+
334337
//if ((keyInfo.Modifiers & ConsoleModifiers.Shift) == ConsoleModifiers.Shift)
335338
//{
336339
// // TODO: Start a new line!

0 commit comments

Comments
 (0)