xbrowser/console: call stopEvent() on key events that we handle

This prevents cursor skipping to start / end of line when using up/down keys