mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-13 21:32:06 +00:00
Remove the redundant #if UNIX check from the Unix only code (#28120)
This commit is contained in:
1 parent
bcd1e697d6
commit
9bc534b19b
1 file changed
-2
@@ -1617,13 +1617,11 @@ namespace Microsoft.PowerShell
|
||||
}
|
||||
}
|
||||
|
||||
#if UNIX
|
||||
// Make sure that the physical cursor position matches where we think it is.
|
||||
// This is a problem on *nix, because input that the user types is echoed
|
||||
// and that moves the cursor. As a consequence, the cursor needs to be repositioned
|
||||
// before we update the screen.
|
||||
CursorPosition = origin;
|
||||
#endif
|
||||
|
||||
// iterate through the buffer to set
|
||||
foreach (var charitem in contents)
|
||||
|
||||
Reference in new issue
Block a user