1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-02 17:46:45 +02:00

Refresh device list on /lsdev.

This commit is contained in:
Enni Rosario
2017-10-31 18:08:06 +02:00
parent ebcbc7497b
commit e1bfa30769
3 changed files with 37 additions and 28 deletions

View File

@ -633,6 +633,9 @@ void cmd_list_devices(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*
return;
}
// Refresh device list.
get_devices_names();
print_devices(self, type);
return;