From bd354843c2751ec6c7b5b85ef08f9145f6232e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 17 Oct 2014 12:51:13 +0200 Subject: Read stdin when given - as filename --- editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index e42e99c..44c2669 100644 --- a/editor.h +++ b/editor.h @@ -137,6 +137,7 @@ void editor_syntax_unload(Editor*); * in another window, share the underlying text that is changes will be * visible in both windows */ bool editor_window_new(Editor*, const char *filename); +bool editor_window_new_fd(Editor*, int fd); /* reload the file currently displayed in the window from disk */ bool editor_window_reload(EditorWin*); void editor_window_close(EditorWin*); -- cgit v1.2.3