import { fn } from "https://deno.land/x/ddc_vim@v4.1.0/deps.ts";
const { screenchar } = fn;
The result is a Number, which is the character at position [row, col] on the screen. This works for every possible screen position, also status lines, window separators and the command line. The top left position is row one, column one The character excludes composing characters. For double-byte encodings it may only be the first byte. This is mainly to be used for testing. Returns -1 when row or col is out of range.
Can also be used as a method
:
GetRow()->screenchar(col)