pretty-print: export urlify_enabled()
This commit is contained in:
parent
a90fb08c81
commit
422c8251e5
|
@ -18,7 +18,7 @@
|
|||
#include "terminal-util.h"
|
||||
#include "util.h"
|
||||
|
||||
static bool urlify_enabled(void) {
|
||||
bool urlify_enabled(void) {
|
||||
static int cached_urlify_enabled = -1;
|
||||
|
||||
/* Unfortunately 'less' doesn't support links like this yet 😭, hence let's disable this as long as there's a
|
||||
|
|
|
@ -5,6 +5,8 @@ void print_separator(void);
|
|||
|
||||
int file_url_from_path(const char *path, char **ret);
|
||||
|
||||
bool urlify_enabled(void);
|
||||
|
||||
int terminal_urlify(const char *url, const char *text, char **ret);
|
||||
int terminal_urlify_path(const char *path, const char *text, char **ret);
|
||||
int terminal_urlify_man(const char *page, const char *section, char **ret);
|
||||
|
|
Loading…
Reference in a new issue