diff options
Diffstat (limited to 'core/builtins.zig')
| -rw-r--r-- | core/builtins.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/builtins.zig b/core/builtins.zig index 7aaeee40..e9df737f 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -1993,7 +1993,8 @@ pub const Follow = struct { made.file.?.follow = true; c.pane.follow_scroll = f.scroll; made.follow_scroll = made.file.?.scroll; - made.appendTag(" Unfollow") catch |err| c.p.reportError(.at(c.id), "Follow", err); + // The new page's own text (UX K'1): a word after its computed ones. + made.appendTag(if (tagline.curTail(made).len == 0) "Unfollow" else " Unfollow") catch |err| c.p.reportError(.at(c.id), "Follow", err); } }; |
