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

[WIP] Make survey work under mintty on Windows #456

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

mislav
Copy link
Collaborator

@mislav mislav commented Oct 2, 2022

Survey does not work under mintty (e.g. Git Bash) on Windows. This is due to mintty not supporting some Console APIs that survey depends on.

This experimental spike switches to an approach where under mintty we switch to handling keystrokes via POSIX escape sequences, something that was previously shipped to only non-Windows builds. For this to work, POSIX key handling was moved under a file that is included in both Windows and non-Windows build.

Status: code spike. Not sure how viable this is yet, or whether I will be able to make this into something shippable. Will keep open for a while as an idea.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant