add end-of-paste-mode detection for when a string with no linebreaks is pasted
add end-of-paste-mode detection for when a string with no linebreaks is pasted

aktorion/bpython,aktorion/bpython,kdart/bpython,wevial/bpython,wevial/bpython,kdart/bpython