Add foreground tip

This commit is contained in:
Nicolas Viennot 2019-11-10 16:29:05 -05:00
parent 7e02dba7ef
commit 9fe8b32293

View File

@ -194,7 +194,8 @@ void tmate_session_start(void)
tmate_set_val("foreground", "true"); tmate_set_val("foreground", "true");
tmate_info("To connect to the session locally, run: tmate -S %s attach", socket_path); tmate_info("To connect to the session locally, run: tmate -S %s attach", socket_path);
} else { } 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", "Press <Enter> to dismiss");
cfg_add_cause("%s", "-----------------------------------------------------"); cfg_add_cause("%s", "-----------------------------------------------------");
} }