Open harinee opened 4 years ago
Additional Context
https://github.com/AlecAivazis/survey/issues/148
Issue in GitBash+Interactive mode library
Before proceeding any further with this....
@harinee @svishwanath-tw is it fine? or we need to change from https://github.com/AlecAivazis/survey/
to something else?
From v2.27.0 git has support for winpty/conpty if correct option is selected while installing git.. https://github.com/git-for-windows/git/releases/tag/v2.27.0.windows.1
else on git bash winpty talisman inplace of talisman works
Is your feature request related to a problem? Please describe. As per #228 the interactive mode did not work properly for Windows. It rendered Windows unusable, whether the feature was turned on or not.
Describe the solution you'd like The interactive mode helps people an assisted way to enter contents to ignore through an interactive shell. This needs to be exactly same for Windows, as it works for Unix.
talisman -g pre-commit -i
will take you to the interactive mode if we have staged changes. This should also work on WindowsAdditional context For reference, see how Talisman operates on Unix system, and just ensure it works for Windows in the same manner. While testing, do ensure Unix doesn't break with the implementation.
Consider git bash at least. Even better if it supports powershell as well