Minor comment fixups.

This commit is contained in:
Garrett D'Amore 2022-12-17 17:15:50 +00:00
parent ce3f911d83
commit 85d85c15ba
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ func (tty *stdIoTty) Start() error {
defer tty.l.Unlock()
// We open another copy of /dev/tty. This is a workaround for unusual behavior
// observed in macOS, apparently caused when a subshell (for example) closes our
// observed in macOS, apparently caused when a sub-shell (for example) closes our
// own tty device (when it exits for example). Getting a fresh new one seems to
// resolve the problem. (We believe this is a bug in the macOS tty driver that
// fails to account for dup() references to the same file before applying close()