import { term_setsize } from "https://deno.land/x/denops_std@v5.2.0/function/vim/mod.ts";
Set the size of terminal {buf}. The size of the window containing the terminal will also be adjusted, if possible. If {rows} or {cols} is zero or negative, that dimension is not changed.
{buf} must be the buffer number of a terminal window. Use an empty string for the current buffer. If the buffer does not exist or is not a terminal window, an error is given.
Can also be used as a method
:
GetBufnr()->term_setsize(rows, cols)