update InputListener to use HistoryManager