waveterm/pkg/service/userinputservice/userinputservice.go

19 lines
394 B
Go
Raw Normal View History

// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
package userinputservice
import (
2024-09-05 23:25:45 +02:00
"github.com/wavetermdev/waveterm/pkg/userinput"
)
type UserInputService struct {
}
func (uis *UserInputService) SendUserInputResponse(response *userinput.UserInputResponse) {
select {
case userinput.MainUserInputHandler.Channels[response.RequestId] <- response:
default:
}
}