50
50
readnotify::Vector{WaitTask}
52
52
closenotify::Vector{WaitTask}
53
TTY(handle,open)=new(handle,open,true,PipeString(),false,WaitTask[],false,WaitTask[])
53
TTY(handle,open)=new(handle,open,true,PipeBuffer(),false,WaitTask[],false,WaitTask[])
56
56
show(io::IO,stream::TTY) = print(io,"TTY(",stream.open?"connected,":"disconnected,",nb_available(stream.buffer)," bytes waiting)")