5 Commits

Author SHA1 Message Date
Kovid Goyal
1cc69b3edd
Move pre-read code into a separate function for clarity 2023-01-26 12:49:21 +05:30
Kovid Goyal
d88105319d
clipboard kitten: Allow STDIN to be connected to a program that itself uses the tty directly
Read in STDIN first, and only then start terminal IO, hopefully allowing
the other program to finish its terminal IO before we start.

Fixes #5934
2023-01-26 12:40:08 +05:30
Kovid Goyal
38a7fa73e3
Simplify filter mode operation
Dont need channels and goroutines as writing in the loop is already
asnychronous
2022-12-01 19:54:57 +05:30
Kovid Goyal
3cf874f6e9
Work on implementing read support in the clipboard kitten 2022-11-29 22:07:51 +05:30
Kovid Goyal
a721ffeb7d
Finish porting clipboard kitten to Go 2022-11-26 15:15:30 +05:30