mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
19 lines
394 B
Go
19 lines
394 B
Go
// Copyright 2024, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package userinputservice
|
|
|
|
import (
|
|
"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:
|
|
}
|
|
}
|