about summary refs log tree commit diff
path: root/ui-blob.h
blob: d7e7d4547626b200616f574806323f297ec3d72d (plain) (blame)
1
2
3
4
5
6
7
#ifndef UI_BLOB_H
#define UI_BLOB_H

extern int cgit_print_file(char *path, const char *head);
extern void cgit_print_blob(const char *hex, char *path, const char *head);

#endif /* UI_BLOB_H */
=77113cf667e1f4fbccc337b508d0f81b1f4b7563&follow=1'>Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe