Skip to content

Commit b37817d

Browse files
committed
fix ansi clear
1 parent 08dce84 commit b37817d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncgit/src/sync/hooks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ impl From<git2_hooks::HookResult> for HookResult {
2222
mut stderr,
2323
..
2424
} => {
25-
const ANSI_CLEAR: &str = "\x1B[H\x1B[J";
25+
const ANSI_CLEAR: &str = "\x1B[H\x1B[2J\x1B[3J";
2626

2727
if stderr == ANSI_CLEAR {
2828
stderr.clear();

0 commit comments

Comments
 (0)