Some attempt for clearing line with ansi code