hostedit

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package hostedit contains UI components for editing host model attributes.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ItemID is a key to extract item id from application context.
	ItemID = itemID{}
)

Functions

func New

func New(ctx context.Context, storage storage.HostStorage, state *state.ApplicationState, log iLogger) *editModel

New - returns new edit host form.

Types

type MsgSave

type MsgSave struct{}

MsgSave triggers when users saves results.

type Size

type Size struct {
	Width  int
	Height int
}

Size struct is used by terminal resize event.

Jump to

Keyboard shortcuts

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