In console you can press "Up" arrow to choose the last line you've entered.
Also, I'm not sure why you need to select the whole line to run it? Would Ctrl/Cmd/Shift/Alt + Enter do what you want instead? Each variation does something slightly different, but they all run line that your cursor is currently on.