HistoryManager will manage the input history