From 3032669cd9bf8d2a564f9eb37bc9a58bbb317314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 26 May 2016 18:28:41 +0100 Subject: vis: use normalized absolute file names as internal representation Try to display a shorthand version in the status bar, this currently only works for files below the current working directory of the editor process. --- vis-core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index fb34a1b..51c9447 100644 --- a/vis-core.h +++ b/vis-core.h @@ -199,4 +199,7 @@ void mode_set(Vis *vis, Mode *new_mode); void window_selection_save(Win *win); Win *window_new_file(Vis *vis, File *file); +const char *file_name_get(File*); +void file_name_set(File*, const char *name); + #endif -- cgit v1.2.3