editor

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CancelError = &cancelError{}

CancelError is the public instance of the cancelError.

Functions

func Edit

func Edit(title, initial string, save, mouse bool) (string, error)

Edit presents an interactive text editor with the given initial content. It returns the edited text or an error if the editor is canceled or fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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