mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Use the io.Reader interface
This commit is contained in:
@@ -98,7 +98,9 @@ func send_rc_command(rc *utils.RemoteControlCmd, timeout float64) (err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
println(string(d))
|
||||
r := utils.BytesReader{Data: d}
|
||||
|
||||
println(string(r.Data))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user