Auto-completing input as it's typed

(capitals of the world)