hostedit

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 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 = struct{}{}
)

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 CloseEditForm added in v1.2.0

type CloseEditForm struct{}

CloseEditForm triggers when users exits from edit form without saving results.

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