1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

core: add option "libs" for command /debug, add signal "debug_libs"

This commit is contained in:
Sebastien Helleu
2013-11-17 20:49:37 +01:00
parent e0890b376c
commit 8d64b658df
25 changed files with 170 additions and 65 deletions
+11
View File
@@ -297,6 +297,17 @@ gui_main_signal_sigwinch ()
gui_window_ask_refresh (2);
}
/*
* Displays infos about ncurses lib.
*/
void
gui_main_debug_libs ()
{
gui_chat_printf (NULL, " ncurses: v%s (patch %d)",
NCURSES_VERSION, NCURSES_VERSION_PATCH);
}
/*
* Refreshs for windows, buffers, bars.
*/
+1
View File
@@ -25,6 +25,7 @@
extern void gui_main_get_password (const char *prompt1, const char *prompt2,
const char *prompt3,
char *password, int size);
extern void gui_main_debug_libs ();
extern void gui_main_loop ();
extern void gui_main_pre_init (int *argc, char **argv[]);
extern void gui_main_init ();