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 splits the provided ask by newline, prints all but the last line only once, and assigns the final line to the ask variable used for the remainder of the module.
- Loading branch information