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:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user