mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
fix(terminal): disable reflow again
reverts c855eee919
This setting introduces constant CI failures on macos
(see https://github.com/neovim/neovim/issues/23762).
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
// changed (lines appended/deleted/changed) or when it is flushed it gets a
|
||||
// positive number. Use mf_trans_del() to get the new number, before calling
|
||||
// mf_get().
|
||||
//
|
||||
// "Mom, can we get ropes?"
|
||||
// "We have ropes at home."
|
||||
// Ropes at home:
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
@@ -6573,9 +6573,6 @@ return {
|
||||
top are deleted if new lines exceed this limit.
|
||||
Minimum is 1, maximum is 100000.
|
||||
Only in |terminal| buffers.
|
||||
|
||||
Note: Lines that are not visible and kept in scrollback are not
|
||||
reflown when the terminal buffer is resized horizontally.
|
||||
]=],
|
||||
full_name = 'scrollback',
|
||||
redraw = { 'current_buffer' },
|
||||
|
@@ -307,7 +307,8 @@ void terminal_open(Terminal **termpp, buf_T *buf, TerminalOptions opts)
|
||||
// Set up screen
|
||||
term->vts = vterm_obtain_screen(term->vt);
|
||||
vterm_screen_enable_altscreen(term->vts, true);
|
||||
vterm_screen_enable_reflow(term->vts, true);
|
||||
// TODO(clason): reenable when https://github.com/neovim/neovim/issues/23762 is fixed
|
||||
// vterm_screen_enable_reflow(term->vts, true);
|
||||
// delete empty lines at the end of the buffer
|
||||
vterm_screen_set_callbacks(term->vts, &vterm_screen_callbacks, term);
|
||||
vterm_screen_set_unrecognised_fallbacks(term->vts, &vterm_fallbacks, term);
|
||||
|
Reference in New Issue
Block a user