MCPcopy Index your code
hub / github.com/chzyer/readline

github.com/chzyer/readline @v1.5.1 sqlite

repository ↗ · DeepWiki ↗ · release v1.5.1 ↗
473 symbols 1,107 edges 39 files 71 documented · 15% 29 cross-repo links
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]

Extension points exported contracts — how you extend this code

AutoCompleter (Interface)
(no doc) [3 implementers]
complete.go
DynamicCompleteFunc (FuncType)
Caller type for dynamic completion
complete_helper.go
SegmentCompleter (Interface)
(no doc) [1 implementers]
complete_segment.go
Listener (Interface)
(no doc) [1 implementers]
operation.go
CallFunc (FuncType)
(no doc)
windows_api.go
PrefixCompleterInterface (Interface)
(no doc) [1 implementers]
complete_helper.go
Painter (Interface)
(no doc) [1 implementers]
operation.go
DynamicPrefixCompleterInterface (Interface)
(no doc) [1 implementers]
complete_helper.go

Core symbols most depended-on inside this repo

WriteString
called by 31
runebuf.go
Write
called by 25
remote.go
PcItem
called by 25
complete_helper.go
Refresh
called by 21
runebuf.go
GetConfig
called by 15
operation.go
IsWordBreak
called by 13
utils.go
Refresh
called by 13
operation.go
WidthAll
called by 11
runes.go

Shape

Method 277
Function 128
Struct 53
TypeAlias 7
Interface 6
FuncType 2

Languages

Go100%

Modules by API surface

runebuf.go59 symbols
remote.go40 symbols
readline.go38 symbols
operation.go38 symbols
history.go25 symbols
complete_helper.go25 symbols
terminal.go21 symbols
utils.go20 symbols
complete.go20 symbols
runes.go19 symbols
windows_api.go18 symbols
std.go16 symbols

Dependencies from manifests, versioned

github.com/chzyer/logexv1.2.1 · 1×
github.com/chzyer/testv1.0.0 · 1×
golang.org/x/sysv0.0.0-2022031002082 · 1×

For agents

$ claude mcp add readline \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact