aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-20 23:56:46 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-20 23:56:46 +0200
commita2b0a992267dc58a6c0e1a4e588b9ec958b7289c (patch)
tree1be333c7f5e862904a382da0a2bdc76d5391855e
parent195edc5e418fa7383bd7882a3b53fe76811e288a (diff)
downloadmk-a2b0a992267dc58a6c0e1a4e588b9ec958b7289c.tar.gz
Improve w
It's still not 100% reliable. But neither is ne, really, in my experience...
-rw-r--r--g.tmac6
1 files changed, 4 insertions, 2 deletions
diff --git a/g.tmac b/g.tmac
index 3fda230..e7d0f5d 100644
--- a/g.tmac
+++ b/g.tmac
@@ -351,7 +351,6 @@ ___________________
.
. \" w -- want space
.de w
-. br
. *w 0 \$@
..
.de *w
@@ -373,7 +372,10 @@ ___________________
. shift 2
.
. \" request space or recurse
-. ie \n(.$=0 .ne \nsu
+. ie \n(.$=0 .if (\nsu)>\n(.tu \{\
+. br
+. bp
+. \}
. el .*w \ns \$@
..
.