added input clearing feature
added delete cursor