diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-10-17 12:51:13 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-10-17 14:15:31 +0200 |
| commit | bd354843c2751ec6c7b5b85ef08f9145f6232e6e (patch) | |
| tree | 384528ba3c384160b5a07159f7e49fe6efdd0f01 /editor.h | |
| parent | 9c4999fc9ee4a071bba068e68d690ba637ec28f5 (diff) | |
| download | vis-bd354843c2751ec6c7b5b85ef08f9145f6232e6e.tar.gz vis-bd354843c2751ec6c7b5b85ef08f9145f6232e6e.tar.xz | |
Read stdin when given - as filename
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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*); |
