updated for version 7.3.748
Problem: Cannot properly test conceal mode.
Solution: Add the screencol() and screenrow() functions. Use them in
test88. (Simon Ruderich)
diff --git a/src/screen.c b/src/screen.c
index 438627a..7e11fa4 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -10264,3 +10264,23 @@
return n;
}
#endif
+
+/*
+ * Return the current cursor column. This is the actual position on the
+ * screen. First column is 0.
+ */
+ int
+screen_screencol()
+{
+ return screen_cur_col;
+}
+
+/*
+ * Return the current cursor row. This is the actual position on the screen.
+ * First row is 0.
+ */
+ int
+screen_screenrow()
+{
+ return screen_cur_row;
+}