You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We have a git hook that displays some progress on a long running task, it does this progress message using ANSI escape codes to rewrite the previous line. When running this hook via LazyGit during a push the line escape codes are written literally so they do not function as expected.
Describe the solution you'd like
Ideally, the output capturing for hooks would handle all valid ANSI escapes.
Additional context
Example:
# .git/hooks/pre-push# Print 1 line then re-write it using ANSI escape codes>&2echo -e "Line one (should not be visible)">&2echo -e "\033[1A\033[KLine two"if [ -t 0 ];then>&2echo" --> Attached to a terminal"else>&2echo" --> Not attached to a terminal"fi>&2echo"If you see 'Line two' then things are working as expected"exit 1
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We have a git hook that displays some progress on a long running task, it does this progress message using ANSI escape codes to rewrite the previous line. When running this hook via LazyGit during a push the line escape codes are written literally so they do not function as expected.
Describe the solution you'd like
Ideally, the output capturing for hooks would handle all valid ANSI escapes.
Additional context
Example:
The text was updated successfully, but these errors were encountered: