Added option to choose if the cursor is active in original or history pane