Skip to content

Commit

Permalink
make local mouse cursor red, which is easier to spot
Browse files Browse the repository at this point in the history
  • Loading branch information
HouzuoGuo committed Nov 1, 2016
1 parent 3c91ab9 commit 56fabaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void viewer_redraw(struct viewer *v)
* right there.
*/
if (geo_dither_numch_x(&params, 12) < 5) {
caca_set_color_ansi(v->view, CACA_WHITE, CACA_BLUE);
caca_set_color_ansi(v->view, CACA_WHITE, CACA_RED);
int ch_x = geo_dither_ch_px_x(&params, v->geo.mouse_x);
int ch_y = geo_dither_ch_px_y(&params, v->geo.mouse_y);
caca_fill_box(v->view, ch_x - 1, ch_y - 1, 3, 3, '*');
Expand Down

0 comments on commit 56fabaf

Please sign in to comment.