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

Fix redrawing prompts on Windows#474

Draft
mislav wants to merge 4 commits into
masterfrom
debug-windows
Draft

Fix redrawing prompts on Windows#474
mislav wants to merge 4 commits into
masterfrom
debug-windows

Conversation

@mislav

@mislav mislav commented Nov 24, 2022

Copy link
Copy Markdown
Collaborator

Fixes redrawing prompts on Windows so that:

  1. The line before the 1st survey prompt isn't accidentally deleted,
  2. The survey prompt is properly redrawn after recording an answer.

For help with debugging Survey, this also adds logging support by setting SURVEY_LOG_FILE environment variable.

Fixes #368
Closes #458

TODO:

  • test in more different terminal combos
  • test cursor handling when a prompt or an answer wraps due to viewport width

@andyfeller

andyfeller commented Sep 21, 2023

Copy link
Copy Markdown

@mislav : thank you for working towards the root of this issue for Windows users ✨

What might you share about this work for someone else to pick it up and carry it to completion?

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.

Duplicated prompt after enter input

2 participants