Avoid a memmove() every character by storing an intial offset for the input buffer, and only moving when it's more than half way across
Avoid a memmove() every character by storing an intial offset for the input buffer, and only moving when it's more than half way across

mathall/libtermkey,pjanouch/termo,mathall/libtermkey,neovim/libtermkey,neovim/libtermkey,o11c/libtermkey,o11c/libtermkey