import mintomic from https://github.com/mintomic/mintomic
implement quick search cancellation