Documentation
¶
Overview ¶
Copyright 2026 Teradata
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package uiutil provides UI utility functions.
Index ¶
- func ClearStatus() tea.Cmd
- func CmdHandler(msg tea.Msg) tea.Cmd
- func ExecShell(ctx context.Context, cmdStr string, callback tea.ExecCallback) tea.Cmd
- func OpenInEditor(path string) error
- func OpenURL(url string) error
- func ReportError(msg string) tea.Cmd
- func ReportInfo(msg string) tea.Cmd
- func ReportWarn(msg string) tea.Cmd
- func SendInfo(text string, infoType InfoType) tea.Cmd
- func SendInfoWithDuration(text string, infoType InfoType, duration time.Duration) tea.Cmd
- type ClearStatusMsg
- type Cursor
- type InfoMsg
- type InfoType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdHandler ¶
CmdHandler wraps a message in a command that returns that message.
func OpenInEditor ¶
OpenInEditor opens a file in the default editor.
Types ¶
type Cursor ¶
type Cursor struct {
// contains filtered or unexported fields
}
Cursor represents a cursor state.