Avoid cursor move on every single character