Refactoring: code split into sections. Chars insertion as a function.
Refactoring: code split into sections. Chars insertion as a function.

hoelzro/linenoise,clibs/linenoise,MoarVM/linenoise,John-Colvin/linenoise,zaxbbun/linenoise,tadzik/linenoise,digsrc/linenoise,antirez/linenoise,rlonstein/linenoise,arnognulf/linenoise,howerj/libline,dragontux/linenoise,saisai/linenoise,AresTao/linenoise