summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/ui-ssdiff.h
blob: 11f2714407c72e3188ab1d1330cca3ad87fe1ad4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef UI_SSDIFF_H
#define UI_SSDIFF_H

/*
 * ssdiff line limits
 */
#ifndef MAX_SSDIFF_M
#define MAX_SSDIFF_M 128
#endif

#ifndef MAX_SSDIFF_N
#define MAX_SSDIFF_N 128
#endif
#define MAX_SSDIFF_SIZE ((MAX_SSDIFF_M) * (MAX_SSDIFF_N))

extern void cgit_ssdiff_print_deferred_lines(void);

extern void cgit_ssdiff_line_cb(char *line, int len);

extern void cgit_ssdiff_header_begin(void);
extern void cgit_ssdiff_header_end(void);

extern void cgit_ssdiff_footer(void);

#endif /* UI_SSDIFF_H */
lass='nohover-highlight'> cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe