summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-09-20 15:25:09 +0000
committertb <tb@openbsd.org>2020-09-20 15:25:09 +0000
commit157a9f43911a5aca9a17c9e99347ab5fe2f59c39 (patch)
tree28d014f1fe90b53bcf465679c1393212f1ecdc6c
parentClear screen before redrawing the line with ^L, also in input mode. (diff)
downloadwireguard-openbsd-157a9f43911a5aca9a17c9e99347ab5fe2f59c39.tar.xz
wireguard-openbsd-157a9f43911a5aca9a17c9e99347ab5fe2f59c39.zip
As in emacs.sh -r1.11 by jca, don't test the behavior of ^L. With
millert's clear-screen change in vi.c -r1.57 it now depends on $TERM
-rw-r--r--regress/bin/ksh/edit/vi.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/regress/bin/ksh/edit/vi.sh b/regress/bin/ksh/edit/vi.sh
index 78f63452a86..26001c82afb 100644
--- a/regress/bin/ksh/edit/vi.sh
+++ b/regress/bin/ksh/edit/vi.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: vi.sh,v 1.6 2017/08/22 20:14:57 anton Exp $
+# $OpenBSD: vi.sh,v 1.7 2020/09/20 15:25:09 tb Exp $
#
# Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
# Copyright (c) 2017 Anton Lindqvist <anton@openbsd.org>
@@ -179,6 +179,5 @@ testseq "abcd\00332h2yl\$p" " # abcd\b\b\bbcdbc\b"
testseq "(x)\0033%lrc" " # (x)\b\b\b(c\b"
testseq "(x)\00330%hrc" " # (x)\b\b\b(x\bc\b"
-# ^L, ^R: Redraw.
-testseq "test\0033\0014" " # test\b\r\r\n # test\b"
+# ^R: Redraw.
testseq "test\0033h\0022" " # test\b\b\r\r\n # test\b\b"