Print socket info at startup

This commit is contained in:
Martin Lund 2022-04-20 19:20:26 +02:00
parent 7096bc3a96
commit b0b0856a8b
2 changed files with 5 additions and 3 deletions

View file

@ -72,9 +72,6 @@ int main(int argc, char *argv[])
if (option.log)
log_open(option.log_filename);
/* Open socket */
socket_configure();
/* Enable ANSI text formatting (colors etc.) */
print_enable_ansi_formatting();
@ -82,6 +79,9 @@ int main(int argc, char *argv[])
tio_printf("tio v%s", VERSION);
tio_printf("Press ctrl-t q to quit");
/* Open socket */
socket_configure();
/* Connect to tty device */
if (option.no_autoconnect)
status = tty_connect();