Start at modal prefix searching.
Initialize PrefixHistoryPrompt
Minor bugfixing.
Fill in prompt features on PrefixHistoryPrompt.
Basic functionality working.
Attempt to deal with down arrow better at end of history.
Explicit rule for carriage return.
Use cursor position to determine prefix.
Refine prefix matching condition to consider mode changes as different.