fixed pressing up twice highlights whole string

#244