Skip to content

[Feature Request] add NOP completer #177

@XSAM

Description

@XSAM

Feature Request

Add NoopCompleter to always return a nil []prompt.Suggest.

func NoopCompleter(d prompt.Document) []prompt.Suggest {
	return nil
}

Somethings I just want to use this lib to receive a simple input, no suggestions at all, but every time I have to write a noop completer to achieve this.

So I wonder whether we can add a NoopCompleter to do this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions