Categorygithub.com/chzyer/readline
modulepackage
1.5.1
Repository: https://github.com/chzyer/readline.git
Documentation: pkg.go.dev

# README

Build Status Software License Version GoDoc OpenCollective OpenCollective

A powerful readline library in Linux macOS Windows Solaris AIX

Guide

Repos using readline

cockroachdb robertkrimen/otto empire mehrdadrad/mylg knq/usql youtube/doorman bom-d-van/harp abiosoft/ishell Netflix/hal-9001 docker/go-p9p

Feedback

If you have any questions, please submit a github issue and any pull requests is welcomed :)

Backers

Love Readline? Help me keep it alive by donating funds to cover project expenses!
[Become a backer]

Sponsors

Become a sponsor and get your logo here on our Github page. [Become a sponsor]

# Packages

No description provided by the author
deprecated.

# Functions

add history to global instance manually raise error only if `SetHistoryPath` is set with a non-empty path.
No description provided by the author
ClearScreen clears the console screen.
append log info to another file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetSize returns the dimensions of the given terminal.
GetState returns the current state of a terminal which may be useful to restore the terminal after a signal.
No description provided by the author
No description provided by the author
No description provided by the author
IsTerminal returns true if the given file descriptor is a terminal.
No description provided by the author
readline with global configs.
calculate how many lines for N character.
No description provided by the author
MakeRaw put the terminal connected to the given file descriptor into raw mode and returns the previous state of the terminal so that it can be restored.
No description provided by the author
No description provided by the author
No description provided by the author
NewFillableStdin gives you FillableStdin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReadPassword reads a line of input from a terminal without local echo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
set auto completer to global instance.
let readline load history from filepath and try to persist history into disk set fp to "" to prevent readline persisting history to disk so the `AddHistory` will return nil error forever.
No description provided by the author
No description provided by the author
SuspendMe use to send suspend signal to myself, when we in the raw mode.
WaitForResume need to call before current process got suspend.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
exit raw.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
FillableStdin is a stdin reader which can prepend some data before reading into the real stdin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
State contains the state of a terminal.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Caller type for dynamic completion.
No description provided by the author
No description provided by the author