summaryrefslogtreecommitdiff
path: root/src/modules/shapes
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-07-25 04:23:38 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-07-27 08:36:24 -0700
commitb710439d328f7fab3f75f01733c0a5704995c328 (patch)
treeb766c317d7e0cb663cc25a3d85eb76e69cacb7cf /src/modules/shapes
parente9e86a017d0a0e5857b9f2c9ecf29b3bdc0ae26a (diff)
setup: don't spin on EOF in setup_interactively()
If you hit ^D during interactive setup it'd send things infinitely spinning. This commit treats eof when expecting more input as -EIO and simply gives up. Which I imagine technically means it's possible to terminate the last interactive question with EOF/^D instead of newline and have it work, since we only check it before the fgets() used to get more input.
Diffstat (limited to 'src/modules/shapes')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved