This patch may fix your issue. (if you only delete from the end of the input and there is no hint/suggestion and no highlighter or if highlight_char returns false)
highlight_char
false