notliner

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: GPL-2.0, GPL-2.0-or-later Imports: 3 Imported by: 0

README

Package notliner provides an alternative goes.Prompter for shell scripts and tty's unsupported by liner.


© 2015-2016 Platina Systems, Inc. All rights reserved. Use of this source code is governed by this BSD-style LICENSE.

Documentation

Overview

Package notliner provides an alternative command.Prompter for shell scripts and tty's unsupported by liner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompter

type Prompter struct {
	// contains filtered or unexported fields
}

func New

func New(r io.Reader, w io.Writer) *Prompter

func (*Prompter) Close

func (p *Prompter) Close()

func (*Prompter) Prompt

func (p *Prompter) Prompt(prompt string) (string, error)

Jump to

Keyboard shortcuts

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