mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-23 07:31:03 +00:00
21 lines
425 B
Go
21 lines
425 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package streamer
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
func (s *Streamer) monitorTtySize(ctx context.Context, resize ResizeContainer, id string) {
|
|
/* TODO: mattn: Currently, this is not supported on Windows.
|
|
s.initTtySize(ctx, resize, id)
|
|
sigchan := make(chan os.Signal, 1)
|
|
signal.Notify(sigchan, syscall.SIGWINCH)
|
|
go func() {
|
|
for range sigchan {
|
|
s.resizeTty(ctx, resize, id)
|
|
}
|
|
}()
|
|
*/
|
|
}
|