aboutsummaryrefslogtreecommitdiffstats
path: root/t/common.sh
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-10-10 14:20:03 +0200
committerMattias Andrée <m@maandree.se>2026-10-10 14:20:03 +0200
commitb2cb62247abe54ff6063b92d2d74eb4ee76c197d (patch)
tree039fafb367772d4be34756d8865f4996541e42da /t/common.sh
parentAdd support for combining --merge and --symmetric (diff)
downloadgit-rediff-b2cb62247abe54ff6063b92d2d74eb4ee76c197d.tar.gz
git-rediff-b2cb62247abe54ff6063b92d2d74eb4ee76c197d.tar.bz2
git-rediff-b2cb62247abe54ff6063b92d2d74eb4ee76c197d.tar.xz
Make ^L redrawHEAD1.3.1master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 't/common.sh')
-rw-r--r--t/common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/common.sh b/t/common.sh
index 38d2845..bb1bd83 100644
--- a/t/common.sh
+++ b/t/common.sh
@@ -144,6 +144,10 @@ interactive_prompt () {
printf '\e[1;34m(%s/%s) Resolve this conflict [h,t,b,m,y,r,e,s,d,q,?]? \e[0m\n' "$1" "$2"
}
+interactive_clear_screen () {
+ printf '\e[H\e[2J'
+}
+
interactive_help () {
test $# = 1
printf '\e[1;31m'