gchp / iota

A terminal-based text editor written in Rust
MIT License
1.62k stars 80 forks source link

Replace existing mark when using set_mark_to_object #138

Closed jncraton closed 6 years ago

jncraton commented 6 years ago

This fixes the problem for me and doesn't seem to cause any issues. It looks like the check for an existing object wasn't included and was causing issues in this case for some reason.

gchp commented 6 years ago

Thanks for this!