~vcs-imports/putty/master

Viewing all changes in revision 5544.

  • Committer: Simon Tatham
  • Date: 2019-09-19 16:59:37 UTC
  • Revision ID: git-v1:2c279283cc695ade15bafb418a8207ef0edd89cd
Don't call term_bracketed_paste_stop before pasted data.

The redesign in commit 9fccb065a arranged that all keystroke data goes
via term_keyinput_internal, which calls term_bracketed_paste_stop just
in case the keystroke had interrupted an in-progress paste.

But, embarrassingly, I forgot that _pasted_ data also goes via
term_keyinput_internal, and bracketed paste mode certainly should not
be terminated before _that_ is sent! I should have conditionalised the
call to term_bracketed_paste_stop on the 'interactive' flag parameter,
which is precisely there to tell the difference between pastes and
true keyboard input.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: