The caret-shape CSS property specifies the shape of the caret.
object.style.caretShape = "value";
<'caret-shape'> = auto | bar | block | underscore
Automatically specified by the user agent.
A thin bar placed at the insertion point.
A rectangle overlapping the next visible character following the insertion point.
A thin line under the next visible character following the insertion point.