Better cursor input