pkg / term

Package term manages POSIX terminals.
BSD 2-Clause "Simplified" License
393 stars 64 forks source link

Add Term.Drain() #78

Open meermanr opened 2 months ago

meermanr commented 2 months ago

Allows the writer to use t.Drain() instead of polling until t.Buffered() == 0.