Start work on custom readline display matches hook

See #295.