mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use Control-D for delete
This commit is contained in:
@@ -1865,7 +1865,8 @@ namespace Microsoft.PowerShell
|
||||
continue;
|
||||
}
|
||||
|
||||
if (keyInfo.Key == ConsoleKey.Delete)
|
||||
if (keyInfo.Key == ConsoleKey.Delete
|
||||
|| (keyInfo.Key == ConsoleKey.D && keyInfo.Modifiers.HasFlag(ConsoleModifiers.Control)))
|
||||
{
|
||||
if (index < s.Length)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user