Try this example:
set font [list [font configure TkFixedFont -family] -14]
pack [text .t -font $font -width 6 -height 1 -padx 5 -pady 5 -insertofftime 0]
.t insert end "cursor"
.t mark set insert 1.end
focus .t
For any reason the insert cursor is not fully visible:
wish8.6 | revised | |
![]() |
![]() |
This has been fixed in revised version. This also applies to the start of line. But note that a horizontal padding is necessary, otherwise it's not enough space to show a cursor of width 2. This means that -borderwidth 0 -padx 0 would not provide enough space at left and right margins, in this case the cursor has a width of one pixel as in original implementation.