heapwolf / prompt-sync

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

Consume characters pasted to buffer. #22

Closed StefanYohansson closed 7 years ago

StefanYohansson commented 7 years ago

fixes #21

@davidmarkclements @0x00A Just let me know if I need to change/revert something.

CHANGELOG

heapwolf commented 7 years ago

Perhaps we could just leave the issue of control characters up to someone who has a use case where they need that?

StefanYohansson commented 7 years ago

Sure, that's a good point.

heapwolf commented 7 years ago

Testing this stuff is hard. I'll kinda just fiddle with it and see if it i can find any corner cases. But I'll also add an issue to add some tests.