Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/vim/mod.ts>term_getline

📚 Standard module for denops.vim
Go to Latest
function term_getline
import { term_getline } from "https://deno.land/x/denops_std@v3.8.1/function/vim/mod.ts";

Get a line of text from the terminal window of {buf}. {buf} is used as with |term_getsize()|. The first line has {row} one. When {row} is "." the cursor line is used. When {row} is invalid an empty string is returned. To get attributes of each character use |term_scrape()|. Can also be used as a |method|: GetBufnr()->term_getline(row)

Parameters

denops: Denops
buf: unknown
row: unknown

Returns

Promise<unknown>