Don't send input bar contents on buffer switch

Fixes #277
Merge pull request #283 from glowing-bear/fixsearch

Don't send input bar contents on buffer switch