File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ static ConsoleKeyInfo CtrlAlt(char c)
326326 public static ConsoleKeyInfo CtrlLBracket = Ctrl ( '\x1b ' ) ;
327327 public static ConsoleKeyInfo CtrlBackslash = Ctrl ( '\x1c ' ) ;
328328 public static ConsoleKeyInfo CtrlRBracket = Ctrl ( '\x1d ' ) ;
329- public static ConsoleKeyInfo CtrlUnderbar = Ctrl ( '\x1f ' ) ;
329+ public static ConsoleKeyInfo CtrlUnderbar = RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) ? CtrlShift ( ' \x1f ' ) : Ctrl ( '\x1f ' ) ;
330330 public static ConsoleKeyInfo CtrlBackspace = Ctrl ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) ? '\x7f ' : '\x08 ' ) ;
331331 public static ConsoleKeyInfo CtrlDelete = Ctrl ( ConsoleKey . Delete ) ; // !Linux
332332 public static ConsoleKeyInfo CtrlEnd = Ctrl ( ConsoleKey . End ) ; // !Linux
You can’t perform that action at this time.
0 commit comments