Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Releases: AlecAivazis/survey

v2.2.14: (fix): arrow key behavior on input prompt (#361)

02 Jul 20:36
3ec04a9
Compare
Choose a tag to compare
* 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 <alec@aivazis.com>

v2.2.13: correct cursor location when terminal wraps lines (#360)

28 Jun 19:44
c5bc9bf
Compare
Choose a tag to compare
Co-authored-by: Evan <cordell.evan@gmail.com>

v2.2.12

22 Apr 14:32
b70520c
Compare
Choose a tag to compare
Add option to show/hide cursor when prompting user (#345) (#348)

v2.2.11

22 Apr 14:28
Compare
Choose a tag to compare
update vendor

v2.2.10

22 Apr 14:25
Compare
Choose a tag to compare
upgrade golang.org/x/text to fix vulnerability - closes #344

v2.2.9

10 Mar 17:00
c79c4a9
Compare
Choose a tag to compare
restore cursor on error (#337)

v2.2.8: Use rune when delete or filter answer (#327)

23 Feb 17:07
d0fcde8
Compare
Choose a tag to compare
* 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)

17 Dec 21:04
e64d9b6
Compare
Choose a tag to compare
* 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)

17 Dec 20:13
85b98f3
Compare
Choose a tag to compare
This reverts commit 90b418e0d09e12794cd4f6946010c1fd1c1acd69.

v2.2.5

11 Dec 09:43
f45c05b
Compare
Choose a tag to compare
Fix PreviousLine and NextLine on linux (#309)