From cc2b54c91e86796e4cde6e9c25638e2f25e8504e Mon Sep 17 00:00:00 2001 From: girst Date: Wed, 28 Feb 2018 00:03:13 +0100 Subject: [PATCH] testing some flag patterns --- mines_2017.c | 5 ++++- schemes.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mines_2017.c b/mines_2017.c index 3083ffb..9d4f464 100644 --- a/mines_2017.c +++ b/mines_2017.c @@ -562,7 +562,10 @@ void cursor_move (int l, int c) { f.p[0] = CLAMP(l, 0, f.h-1); f.p[1] = CLAMP(c, 0, f.w-1); move (f.p[0]+LINE_OFFSET, field2screen_c(f.p[1])); - fputs (op.scheme->mouse_highlight, stdout); + //fputs (op.scheme->mouse_highlight, stdout); + print("\033[7m");//invert + partial_show_minefield (f.p[0], f.p[1], NORMAL); + print("\033[0m");//un-invert } char* cell2schema (int l, int c, int mode) { diff --git a/schemes.h b/schemes.h index 28a48ff..95cabec 100644 --- a/schemes.h +++ b/schemes.h @@ -42,7 +42,7 @@ struct minescheme { struct minescheme symbols_mono = { .number = {" ", "1", "2", "3", "4", "5", "6", "7", "8"}, .field_closed = "░░", - .field_flagged = "▒▒", + .field_flagged = "⢕⢕",//⡱⢎",//⣏⣹",//▄▀",//▓▓",//██",//▒▒", .field_question = "?", .mouse_highlight = "▓▓", .mine_normal = "*", -- 2.39.3