|
|
@ -17,9 +17,9 @@ static const char* leg[] = {
|
|
|
|
|
|
|
|
|
|
|
|
static struct ncplane*
|
|
|
|
static struct ncplane*
|
|
|
|
make_slider(struct notcurses* nc, int dimy, int dimx){
|
|
|
|
make_slider(struct notcurses* nc, int dimy, int dimx){
|
|
|
|
// 600 frames in the video
|
|
|
|
// 487 frames in the video
|
|
|
|
const int len = strlen(leg[0]);
|
|
|
|
const int len = strlen(leg[0]);
|
|
|
|
const int REPS = 600 / len + dimx / len;
|
|
|
|
const int REPS = 487 / len + dimx / len;
|
|
|
|
int y = dimy - sizeof(leg) / sizeof(*leg);
|
|
|
|
int y = dimy - sizeof(leg) / sizeof(*leg);
|
|
|
|
struct ncplane_options nopts = {
|
|
|
|
struct ncplane_options nopts = {
|
|
|
|
.y = y,
|
|
|
|
.y = y,
|
|
|
|