Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue heapwolf#25: Inappropriate Redrawn Multi-Line Asks
heapwolf#25 Prompts were causing bad user experience in situations where the prompt contains multiple lines. This is because prompt-sync will redraw the prompt as you type, and assumes it only takes up one line. The fix provided prints the whole ask string, before reassigning ask to be only the final line of the prompt. This way, redraws don't affect above lines.
- Loading branch information