mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Use Control-D for delete
This commit is contained in:
1 parent
332397e955
commit
85aa47b489
1 file changed
+2
-1
@@ -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