Remove memmove to improve terminal performance (#4088)

This removes the terminal performance slightly by removing memmoves that
aren't needed after inlining a call.

It also removes a possibly unnecessary `String` allocation.

Release Notes:

- Improved terminal rendering performance by reducing allocations and
memory operations.
21ceb14f65Thorsten Ball committed on 1/17/2024, 2:43:29 PM· committed by GitHubparents79679cb5112746
1 file changedLine totals unavailable