pub fn format_title(name: &str, port: u16) -> StringExpand description
The name :port half of a window title, shared between the initial
title set when a window is created and SessionState::window_title’s
later connect/disconnect updates. Port 0 is not a real port — anonymous
sessions and opened captures use it as a sentinel — so it is omitted
rather than displayed as name :0.