Skip to content

Using vd.input and completer #1025

Answered by saulpw
ECon87 asked this question in Q&A
Jun 22, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @ECon87, the completer is a function which gets the string up until the cursor, and an index (integer) which increases/decreases with repeated Tab/Shift-Tab. The completer function should return the string to replace it with (or empty to leave it alone).

The updater function is called every keystroke or timeout, to update the screen outside the input area.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ECon87
Comment options

@saulpw
Comment options

Answer selected by ECon87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants