Fix shell refresh on response line insert