wooster0 / yayagram

Play nonograms/picross in your terminal
https://crates.io/crates/yayagram
41 stars 2 forks source link

Ability to remove measurement cells #5

Closed incrazyboyy closed 1 year ago

incrazyboyy commented 1 year ago

I use the measurement tool a lot, but after a while large parts of the picture are green. This makes the numbers harder to read and you start to mistake unfilled cells for others, as they become a rare occurance.

My workaround is to just fill all green bars with maybe-cells, but they can't be overridden by new measurements.

Therefore, I suggest defining the Y key to clear all green measurements. To give a second option, you could also map this key to clear a single cell. In combination with the fill-utility, one could achieve a similar result. However, I do prefer my first suggestion.

wooster0 commented 1 year ago

I think I've solved this in b96111703ecd4473aaed39035cf1f213fd73512f by making measurement lines disappear automatically. Now, once you place your third measurement line, the oldest disappears automatically. Please try it out and feel free to give me feedback in this issue. I can bump it up to 3 lines at a time too if you feel that'd better. I've pushed a new version 0.8.5 (see the most two recent commits as well as the Releases page).