Add feature to enable or disable keyboard input

Add new options to the select-pane and last-pane commands to enable or
disable keyboard input for specific panes.