mirror of https://github.com/gdamore/tcell.git
Minor comment fixups.
This commit is contained in:
parent
ce3f911d83
commit
85d85c15ba
2
doc.go
2
doc.go
|
@ -42,6 +42,6 @@
|
||||||
// point will only be displayed if your terminal or emulator (or the font
|
// point will only be displayed if your terminal or emulator (or the font
|
||||||
// the emulator is using) supports them.
|
// the emulator is using) supports them.
|
||||||
//
|
//
|
||||||
// A rich set of keycodes is supported, with support for up to 65 function
|
// A rich set of key codes is supported, with support for up to 65 function
|
||||||
// keys, and various other special keys.
|
// keys, and various other special keys.
|
||||||
package tcell
|
package tcell
|
||||||
|
|
|
@ -61,7 +61,7 @@ func (tty *stdIoTty) Start() error {
|
||||||
defer tty.l.Unlock()
|
defer tty.l.Unlock()
|
||||||
|
|
||||||
// We open another copy of /dev/tty. This is a workaround for unusual behavior
|
// 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
|
// 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
|
// 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()
|
// fails to account for dup() references to the same file before applying close()
|
||||||
|
|
Loading…
Reference in New Issue