app

package
v0.0.0-...-fe515d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TabMovePrev : 前のタブに移動
	TabMovePrev int = -1
	// TabMoveNext : 次のタブに移動
	TabMoveNext int = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App : アプリケーション

func New

func New() *App

New : 新規作成

func (*App) ExecCommnad

func (a *App) ExecCommnad(cmd string) error

ExecCommnad : コマンドを実行

func (*App) Init

func (a *App) Init() error

Init : 初期化

func (*App) Run

func (a *App) Run() error

Run : アプリを実行

type Global

type Global struct {
	// contains filtered or unexported fields
}

Global : 全体共有

func (*Global) ReqestPopupModal

func (g *Global) ReqestPopupModal(o *ModalOpts)

ReqestPopupModal : モーダルの表示をリクエスト

func (*Global) RequestExecCommand

func (g *Global) RequestExecCommand(c string)

RequestExecCommand : コマンドの実行をリクエスト

func (*Global) RequestFocusView

func (g *Global) RequestFocusView()

RequestFocusView : ビューへのフォーカスを要求

func (*Global) RequestInputCommand

func (g *Global) RequestInputCommand(c string)

RequestInputCommand : コマンドの入力をリクエスト

func (*Global) SetErrorStatus

func (g *Global) SetErrorStatus(label, errStatus string)

SetErrorStatus : エラーメッセージを設定

func (*Global) SetIndicator

func (g *Global) SetIndicator(indicator string)

SetIndicator : インジケータを設定

func (*Global) SetStatus

func (g *Global) SetStatus(label, status string)

SetStatus : ステータスメッセージを設定

type ModalOpts

type ModalOpts struct {
	// contains filtered or unexported fields
}

ModalOpts : モーダルの設定

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL