Added support for multiple selection and input through the meta-key.