implement word deletion via ^W