prompt

package
v0.0.0-...-644506d Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

P Prompt used globally

Functions

func AutoComplete

func AutoComplete(relPath string) (string, error)

AutoComplete interfaces with `fzf` to provide autocompletion.

Types

type Prompt

type Prompt struct {
	Term *term.Term
	// contains filtered or unexported fields
}

Prompt represents a shell prompt.

func NewPrompt

func NewPrompt() *Prompt

NewPrompt instantiates a Prompt.

func (*Prompt) Show

func (p *Prompt) Show() (input string)

Show displays the prompt.

Jump to

Keyboard shortcuts

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