thanks for the wonderful scroll-restore mode!

the updated version here indeed fixes comint mode, but it appears to break macros in the same way for me as well (in evil mode, for what it's worth):

replaying a macro that changes a word to "input" (`cwinput`) gives "putni" instead of input

fortunately that's the only new bug I've noticed so far