artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4331208
)
call vttidy() in the exit path for the batch mode
author
op
<op@openbsd.org>
Tue, 24 Oct 2023 10:26:02 +0000
(10:26 +0000)
committer
op
<op@openbsd.org>
Tue, 24 Oct 2023 10:26:02 +0000
(10:26 +0000)
Diff by Mark Willson (mark [at] hydrus.org.uk), thank you!
usr.bin/mg/main.c
patch
|
blob
|
history
diff --git
a/usr.bin/mg/main.c
b/usr.bin/mg/main.c
index
d31c89b
..
56ef7d9
100644
(file)
--- a/
usr.bin/mg/main.c
+++ b/
usr.bin/mg/main.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: main.c,v 1.9
5 2023/04/14 15:34:08 tb
Exp $ */
+/* $OpenBSD: main.c,v 1.9
6 2023/10/24 10:26:02 op
Exp $ */
/* This file is in the public domain. */
@@
-167,8
+167,10
@@
main(int argc, char **argv)
ffclose(ffp, NULL);
}
- if (batch)
+ if (batch) {
+ vttidy();
return (0);
+ }
/*
* Now ensure any default buffer modes from the startup file are