mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
Fix a comment.
This commit is contained in:
parent
00290a6f2b
commit
cec194c537
|
@ -227,7 +227,7 @@ func (ev *Evaler) EvalInteractive(text string, n *parse.Chunk) error {
|
|||
close(outCh)
|
||||
<-outDone
|
||||
|
||||
// XXX Should use fd of /dev/terminal instead of 0.
|
||||
// XXX Should use fd of /dev/tty instead of 0.
|
||||
if sys.IsATTY(0) {
|
||||
err := sys.Tcsetpgrp(0, syscall.Getpgrp())
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user