aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-10-06 07:41:00 -0400
committerGitHub <noreply@github.com>2026-10-06 07:41:00 -0400
commit501dda72aa110adae71ac46bd775bf49d569214a (patch)
treeb65cafe81a8177d07a54f669ab71f107e015adac /runtime/lua/vim/_ftplugin/lua.lua
parentb03d8f1788185afcd396fe5fe45a72850079b12b (diff)
downloadrneovim-501dda72aa110adae71ac46bd775bf49d569214a.tar.gz
rneovim-501dda72aa110adae71ac46bd775bf49d569214a.tar.bz2
rneovim-501dda72aa110adae71ac46bd775bf49d569214a.zip
fix(terminal): nvim_open_term crash in zero-size window #42248
Problem: nvim_open_term() sizes the terminal from the current window, which may have 0 rows (bordered float, 'cmdheight' taking all rows). libvterm aborts when resizing from 0 rows. Solution: In `terminal_alloc()`, treat zero width/height as the pty default (80x24), like jobstart(term=true). Open question: nvim_win_get_height() on such a float returns -1 (winheight() returns 0).
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions