Patch #462122: add readline startup and pre_event hooks.
7 files changed