aboutsummaryrefslogtreecommitdiff
path: root/dostsr.h
diff options
context:
space:
mode:
Diffstat (limited to 'dostsr.h')
-rw-r--r--dostsr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dostsr.h b/dostsr.h
index 50d4441..b3a5b3c 100644
--- a/dostsr.h
+++ b/dostsr.h
@@ -85,6 +85,9 @@ typedef struct tsrdata {
* physical screen coordinates.
* real coordinates = virtual coordinates * screen_scale. */
struct point screen_scale;
+ /** In text modes, we want to snap the cursor position to the cell grid.
+ * This stores the desired grid granularity. */
+ struct point screen_granularity;
// Detected mouse hardware
/** Whether the current mouse has a wheel (and support is enabled). */