Added prefs command

This commit is contained in:
James Booth
2012-07-19 23:43:50 +01:00
parent f710d6f26d
commit 5f60e46308
3 changed files with 43 additions and 1 deletions

View File

@@ -300,6 +300,38 @@ void win_disconnected(void)
}
}
void cons_prefs(void)
{
cons_show("");
cons_show("Current preferences:");
cons_show("");
if (prefs_get_beep())
cons_show("Terminal beep : ON");
else
cons_show("Terminal beep : OFF");
if (prefs_get_flash())
cons_show("Terminal flash : ON");
else
cons_show("Terminal flash : OFF");
if (prefs_get_notify())
cons_show("Desktop notifications : ON");
else
cons_show("Desktop notifications : OFF");
if (prefs_get_showsplash())
cons_show("Splash screen : ON");
else
cons_show("Splash screen : OFF");
cons_show("");
if (_curr_prof_win == 0)
dirty = TRUE;
}
void cons_help(void)
{
cons_show("");