function to seed ctrlp and reset

Once the ctrlp_default_input is set, the next time ctrlp is called the
previous seed value is used. By using a function instead, after the
ctrlp call, the ctrlp_default_input is reset to empty so that the next
call has no seed.