Edited: Disregard - most browsers won't support this solution anyway.
I was looking into the input.js source and there is actually an easier way to do that in CSS by modifying the caret: shape value and setting it to "block" instead. Either way works but maybe (?) the CSS way wouldn't look as confusing?
see: https://css-tricks.com/almanac/properties/c/caret-shape/