Don't send input bar contents on buffer switch

Fixes #277