aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-10-17 12:51:13 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-10-17 14:15:31 +0200
commitbd354843c2751ec6c7b5b85ef08f9145f6232e6e (patch)
tree384528ba3c384160b5a07159f7e49fe6efdd0f01 /editor.h
parent9c4999fc9ee4a071bba068e68d690ba637ec28f5 (diff)
downloadvis-bd354843c2751ec6c7b5b85ef08f9145f6232e6e.tar.gz
vis-bd354843c2751ec6c7b5b85ef08f9145f6232e6e.tar.xz
Read stdin when given - as filename
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h1
1 files changed, 1 insertions, 0 deletions
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*);