Remove some unnecessary string copies in TerminalUI
Remove some unnecessary string copies in TerminalUI

mawww/kakoune,lenormf/kakoune,mawww/kakoune,jkonecny12/kakoune,mawww/kakoune,casimir/kakoune,casimir/kakoune,jkonecny12/kakoune,casimir/kakoune,jkonecny12/kakoune,lenormf/kakoune,mawww/kakoune,lenormf/kakoune,jkonecny12/kakoune,alexherbo2/kakoune,alexherbo2/kakoune,alexherbo2/kakoune,lenormf/kakoune,casimir/kakoune,alexherbo2/kakoune