Source File
application_args.go
Belonging Package
github.com/pancsta/cview
package cviewimport (amssApp)const APrefix = "cview"// Args is shared pkg args for the cview states.type Args struct {am.ArgsBase `json:"-"`}func (Args) () string {return APrefix}// -----// AScreen is passed to the CviewScreenReplacing state.type AScreen struct {Args `json:"-"`// Screen to replace the current screen with.Screen tcell.Screen `log:"screen"`}func (AScreen) () string {return ssApp.AppStates.CviewScreenReplacing}// -----// ASuspend is passed to the CviewSuspending state.type ASuspend struct {Args `json:"-"`// Fn is the function to call while the screen is suspended.Fn func()// Done receives the result of the suspension.Done chan bool}func (ASuspend) () string {return ssApp.AppStates.CviewSuspending}
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |