gum/internal
Carlos Alexandro Becker c868aa1c6c
fix(confirm,choose,file,input): timeout handling (#718)
* fix(confirm,choose,file,input): timeout handling

- some fields were not actually using the `--timeout` value
- some fields had different behavior when a timeout did occur. On this
  matter, it seems to me the best way forward is to specifically say it
  timed out, and after how long
- added exit status 124 (copied from `timeout` from coreutils) (fixes #684)

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update main.go

Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>

* Update internal/exit/exit.go

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>

* fix: improve

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: stderr

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
2024-11-18 10:49:15 -03:00
..
decode chore: fix linting 2022-07-30 18:04:26 -04:00
exit fix(confirm,choose,file,input): timeout handling (#718) 2024-11-18 10:49:15 -03:00
files Add soft & hard linter configs & workflows (#44) 2022-07-30 12:32:59 -04:00
log feat: add stdin input handling and logging helpers 2022-07-07 13:29:10 -04:00
stack docs: document gum table, file, pager 2022-10-07 15:38:48 -04:00
stdin fix(stdin): add trim of trailing newline (#577) 2024-05-25 14:44:01 -04:00
utils fix(docs): correct LipglossPadding doc comment 2023-05-18 12:26:33 -04:00