emacs/vim: OS mouse scrolling and clicking inside terminals