diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit ab94dd32fbba6fe5eabe14dcfdb3f6377415cd11
parent 8e6b17dbbfd29547d80fa2749d3b3fe629024a81
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sat, 20 Nov 2021 23:22:54 +0100

test mouse scroll buttons 4/5

Diffstat:
Msrc/diary.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/diary.c b/src/diary.c @@ -731,6 +731,8 @@ int main(int argc, char** argv) { time_t new_date = mktime(&curs_date) + (diff_days * ONE_DAY); mv_valid = go_to(cal, aside, new_date, &pad_pos, &curs_date, &cal_start, &cal_end); } + } else if (event.bstate & BUTTON5_PRESSED) { + fprintf(stderr, "Mouse up/down\n"); } break;