[demo] use DETECTMAXONLY for fps graph #2152

pull/2162/head
nick black 3 years ago
parent 9ec41fe123
commit 9cc04ea259
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -663,6 +663,7 @@ int fpsgraph_init(struct notcurses* nc){
memset(&opts, 0, sizeof(opts));
opts.flags = NCPLOT_OPTION_LABELTICKSD |
NCPLOT_OPTION_EXPONENTIALD |
NCPLOT_OPTION_DETECTMAXONLY |
NCPLOT_OPTION_PRINTSAMPLE;
opts.gridtype = NCBLIT_BRAILLE;
opts.legendstyle = NCSTYLE_ITALIC | NCSTYLE_BOLD;

Loading…
Cancel
Save