diff options
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/session.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/session.zig b/runtime/session.zig index 890302b1..d8c7cd02 100644 --- a/runtime/session.zig +++ b/runtime/session.zig @@ -136,6 +136,12 @@ pub fn Loop(comptime Frontend: type) type { l.peers.boundary(l.core); // Before a pair's end: its client's terminal put back (P48). fe.sent(); + // A pair's client stands for the frontend it was started + // for: at its focus in, a newer build said (upgrade.zig). + if (l.peers.pair_focused) { + l.peers.pair_focused = false; + upgrade.noticeNewer(l.core); + } // A pair's session with no daemon ends with its last link: // nothing could attach to it again; with one, when its last // client left with a close (not a loss) and it is not kept. |
