Prevent search result from being deselected if it is the only result
Prevent search result from being deselected if it is the only result

remove leading whitespace
prevent single search term deselection in findPrevious

Tyriar/xterm.js,sourcelair/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,Tyriar/xterm.js,sourcelair/xterm.js,xtermjs/xterm.js,Tyriar/xterm.js,sourcelair/xterm.js,sourcelair/xterm.js,xtermjs/xterm.js,xtermjs/xterm.js