Another way to extend this might be to switch from a byte queue to a short integer queue. The lower 8-bits would be as it is now; the upper eight bits would encode modifier keys (shift, ctrl, alt, meta, whatever).
I think sticking to the byte queue is best. So much in Vim relies on text being represented in either a single byte encoding or UTF-8 (e.g. when you use UCS-2 or UCS-4, Vim will use UTF-8 internally, I believe). It will break less if we stick to a byte stream with escapes, as now, IMHO. Ben. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php