Add home/end handling to console