Add history item for terminal learning