Implement Function to sum (or/and subtract) the distances of multiple lines (e.g. while OR after pressing "+" or "-" key)
suggestion of usage:
pressing "+" or "-" key while dragging, then this line will be added / subtracted to the last sum
then you have to press 2 keys if you need a vertical/horicontal line and want this line to be added
or pressing "+" or "-" key before dragging the relevant line. For each line which should be added a new key press is necessary
I think I would prefer this handling
After each line the values of this specific line and the cumulative values since a start off summation will be printed to the terminal. At ESC-key the summation will be resettet.
Implement Function to sum (or/and subtract) the distances of multiple lines (e.g. while OR after pressing "+" or "-" key)
suggestion of usage:
After each line the values of this specific line and the cumulative values since a start off summation will be printed to the terminal. At ESC-key the summation will be resettet.