distant.nvim icon indicating copy to clipboard operation
distant.nvim copied to clipboard

Heads up about clearing terminal scrollback

Open muniter opened this issue 3 years ago • 1 comments

Hey @chipsenkbeil https://github.com/neovim/neovim/issues/15477 has been closed, letting you know you can remove https://github.com/chipsenkbeil/distant.nvim/blob/6d6be95130aa8d0e61840d71d1002cb141315d89/lua/distant/client/term.lua#L75-L79 if using the next release. Clearing the scrollback is now possible with something like:

function Terminal_clear()
  set scrollback=1
  set scrollback=10000
endfunction

muniter avatar Jun 09 '22 01:06 muniter

Oh, awesome! I'll be sure to do that. Haven't quite finished the branch yet before releasing it, so that feature isn't out yet. :)

chipsenkbeil avatar Jun 09 '22 01:06 chipsenkbeil

This is now taken care of on the upcoming 0.2 release, so closing out.

chipsenkbeil avatar Aug 19 '22 17:08 chipsenkbeil