Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove ansi sequence from creeol when ansi=off (#4352)
When using "ansi"="off", the escape sequence \033[K is still present and tools that input from lgsm will get thoses bytes. This commit removes that. One side-effect if two prints are done without a line feed and the second is shorter than the first, then some unwanted character could remain. ``` echo -en "${creeol}foo/bar" echo -en "${creeol}foo" ``` * before : prints "foo" * after: prints "foo/bar"
- Loading branch information