Update input module.

Fixes an issue with history up arrow navigation moving the cursor to an
incorrect row.

Use tilde for dependencies.
0.1.356