This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
Releases: AlecAivazis/survey
Releases · AlecAivazis/survey
v2.2.14: (fix): arrow key behavior on input prompt (#361)
* first pass at input using RuneReader.ReadLine with suggestions * fix newline from readline * better callback name * (fix): skip tests with editor * (feat): allow prompt callback on rune input and initial input * (fix): fallback to ReadLine when not using "auto complete" * (feat): tests input navagation * (fix): suggestions can be dismissed * (fix): editor blocking testing Co-authored-by: Alec Aivazis <[email protected]>
v2.2.13: correct cursor location when terminal wraps lines (#360)
Co-authored-by: Evan <[email protected]>
v2.2.12
Add option to show/hide cursor when prompting user (#345) (#348)
v2.2.11
update vendor
v2.2.10
upgrade golang.org/x/text to fix vulnerability - closes #344
v2.2.9
restore cursor on error (#337)
v2.2.8: Use rune when delete or filter answer (#327)
* fix use rune when delete input answer * fix use rune when filter with input * test(input): Add test for delete answer * test(select): Add delete select filter word test * test(multiselect): Add delete filter word test
v2.2.7: Fix re-rendering when prompt is exactly the width of the terminal (#321)
* Fix re-rendering when prompt is exactly the width of the terminal The code that measures width of rendered lines of content and whether any have overflown in the terminal did not account for the possibility that the content could be _exactly_ the width of the terminal. In that case, it shouldn't be counted as overflow. * Reduce test dependencies by going straight to `pty` This skips the go-expect & vt10x dependencies when stubbing only terminal size and goes straight to the `creack/pty` library, which is already used by go-expect under its old name, `kr/pty`. * Use old name of `creack/pty` since it was already vendored
v2.2.6: Revert "Add OnInterrupt to run function code on CTRL+C (#301)" (#323)
This reverts commit 90b418e0d09e12794cd4f6946010c1fd1c1acd69.
v2.2.5
Fix PreviousLine and NextLine on linux (#309)