Skip to content

Commit

Permalink
Add foreground tip
Browse files Browse the repository at this point in the history
  • Loading branch information
nviennot committed Nov 10, 2019
1 parent 7e02dba commit 9fe8b32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tmate-session.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ void tmate_session_start(void)
tmate_set_val("foreground", "true");
tmate_info("To connect to the session locally, run: tmate -S %s attach", socket_path);
} else {
cfg_add_cause("%s", "To see these messages again, run: tmate show-messages");
cfg_add_cause("%s", "Tip: if you wish to use tmate for remote access, run tmate -F");
cfg_add_cause("%s", "To see the following messages again, run: tmate show-messages");
cfg_add_cause("%s", "Press <Enter> to dismiss");
cfg_add_cause("%s", "-----------------------------------------------------");
}
Expand Down

0 comments on commit 9fe8b32

Please sign in to comment.