mogenslund / liquid

Clojure Text Editor, for editing clojure code and markdown. Written entirely in Clojure with inspiration from Emacs and Vim.
Eclipse Public License 1.0
959 stars 42 forks source link

More weird insert errors #26

Closed tom-adsfund closed 4 years ago

tom-adsfund commented 5 years ago

As in https://github.com/mogenslund/liquid/issues/17 I was doing some editing in Liquid, this time in Terminology, and a spurious partial escape sequence was inserted into the text while I was moving the cursor.

I don't know how to recreate this this time, but it shows that it's probably not just a terminal bug.

mogenslund commented 5 years ago

I was able to reproduce it using the arrow keys. (I usually use jkli for navigation.) The arrow keys produce some longer escape sequences, so when holding down the key the sequence is more or less continues. I have commitet a fix that detects when the sequence is repeating. The problem seem to be only present for complex escape sequences like Arrow keys and F-keys etc.

tom-adsfund commented 5 years ago

Great! I'll keep this issue open for a couple of days in case there's any more on this.

mogenslund commented 4 years ago

I think I can close this issue now :-)