Bug 867: Don't consume KBD_MOD_PASTE to enter insert mode.
commit64102db7ae7ab6e2fc5298e32993a2b5af67ede8
authorKalle Olavi Niemitalo <kon@iki.fi>
Sat, 19 Jan 2008 16:12:57 +0000 (19 18:12 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sat, 19 Jan 2008 16:12:57 +0000 (19 18:12 +0200)
treeaab87b04f752974e4ba998b02395fb473d3407ef
parentd79edd59543b1fb9008d8e71c1c9e6ace50b0979
Bug 867: Don't consume KBD_MOD_PASTE to enter insert mode.

In the previous version, the first event that had KBD_MOD_PASTE
entered insert mode and was consumed for that; ELinks then inserted
the characters from the remaining events.  Now, to make ELinks insert
the first character too, I'm changing things so that KBD_MOD_PASTE
does not cause insert mode to be entered; instead, ELinks inserts
those characters regardless of whether insert mode is on.
src/viewer/text/form.c
src/viewer/text/view.c