zk-org / zk-nvim

Neovim extension for zk
https://github.com/zk-org/zk
GNU General Public License v3.0
503 stars 40 forks source link

Bug: `ZkNewFromTitleSelection` does not copy the last character correctly. #125

Closed noriapi closed 1 year ago

noriapi commented 1 year ago

If the last character in the selection is a non-ascii character, such as or 😀, it will not be copied correctly and will appear as .

Example

Selection selection

New note new-note

Replaced replaced

mickael-menu commented 1 year ago

I just released the 0.14.0 version of zk that might have an impact on that: https://github.com/mickael-menu/zk/releases/tag/v0.14.0

If you still have the problem, please open a new issue with more details to reproduce, following the new bug reports template.