akinsho / toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows
GNU General Public License v3.0
4.06k stars 170 forks source link

Fix cursor position after motion #563

Closed raffaem closed 3 months ago

raffaem commented 3 months ago

nvim_win_set_cursor indexes rows from 1 but columns from 0, while we seem to index columns from 1 as well.

Fixes #542