go-prompt icon indicating copy to clipboard operation
go-prompt copied to clipboard

Async example

Open nu11ptr opened this issue 6 years ago • 1 comments

Added an asynchronous echo example to only show completions after a given delay in time. This is useful if, for example, the completion source has latency before completion data can be filled. By doing this, typing remains fluid and not delayed by the suggestions, and operations like copy/paste remain fast. Still, if the user stops typing for a moment and needs completion assistance, they will then pop up as expected.

nu11ptr avatar Mar 10 '18 19:03 nu11ptr

@c-bata would you have time to review this PR? thanks!

marco-m avatar Jun 26 '19 20:06 marco-m