Merge "term: send proper reset sequence when black background is forced"