heapwolf / prompt-sync

a synchronous prompt for node.js
MIT License
211 stars 42 forks source link

Fixed cursor positioning problem #31

Closed yegodz closed 6 years ago

yegodz commented 6 years ago

Hi - Looks like there was a problem where the cursor was not being correctly positioned -extra space popping up between text and insertion point -if you move the cursor to the left with the arrow keys, the insertion point doesn't stay there