Keep unified history for all terminal windows