wait for sublime text when grabbing editor input