From 2da1207b7df28bb0f9583debef75789e07c0777f Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 27 Nov 2015 13:01:25 +0100 Subject: Fix issue #271 expand path. --- include/rofi.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/rofi.h') diff --git a/include/rofi.h b/include/rofi.h index b46f6ce1..f15e903b 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -339,4 +339,13 @@ struct _Mode #define color_cyan_bold "\033[1;36m" int show_error_message ( const char *msg, int markup ); + +/** + * @param input The path to expand + * + * Expand path, both `~` and `~` + * + * @returns path + */ +char *rofi_expand_path ( const char *input ); #endif -- cgit v1.2.3