1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00

[version] Show gpm version

This commit is contained in:
Witold Filipczyk 2022-03-01 17:55:13 +01:00
parent 3ca686d42a
commit 777d0a4114

View File

@ -29,6 +29,10 @@
#include "encoding/zstd.h"
#endif
#if defined(CONFIG_MOUSE) && defined(CONFIG_GPM)
#include <gpm.h>
#endif
#include "intl/libintl.h"
#include "main/module.h"
#include "main/select.h"
@ -165,6 +169,13 @@ get_dyn_full_version(struct terminal *term, int more)
#endif
#ifndef CONFIG_MOUSE
comma, _("No mouse", term),
#else
#ifdef CONFIG_GPM
comma, "gpm(", Gpm_GetLibVersion(NULL), ")",
#endif
#ifdef CONFIG_SYSMOUSE
comma, "sysmouse",
#endif
#endif
#ifdef CONFIG_UTF8
comma, "UTF-8",