msteveb/linenoise — pull request #7 by andreas-kupries (2013-01-25 04:19:50+00:00)
Title: New feature: Maintain a cut/paste buffer.

The existing bindings for Ctrl+k, Ctrl+u, and Ctrl+w are
modified to fill the cut buffer with the characters they deleted.
The new binding for Ctrl+y inserts the contents of the
cut buffer at the current position.

This matches bash.