Skip to content

How can I get the output at the head of the output panel buffer? #256

Closed Answered by michaelb
LintaoAmons asked this question in Q&A
Discussion options

You must be logged in to vote

hmmm, that should not happen (if we're talking about the display mode Terminal and not something else). Sniprun sets a scrollback to the terminal buffer that take its default from vim.o.scrollback (almost always -1)

You may want to execute :lua print(vim.o.scrollback) to check whether your config changed this.

You may change this by setting the scrollback option to -1 only for sniprun: https://michaelb.github.io/sniprun/sources/display_modes.html#terminal

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LintaoAmons
Comment options

Answer selected by LintaoAmons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants