Added capability to select text using mouse from the console.