urxvt-xim-onthespot - Man Page
implement XIM "on-the-spot" behaviour
This perl extension implements OnTheSpot editing. It does not work perfectly, and some input methods don't seem to work well with OnTheSpot editing in general, but it seems to work at least for SCIM and kinput2.
You enable it by specifying this extension and a preedit style of
urxvt -pt OnTheSpot -pe xim-onthespot
2023-01-21 9.31 RXVT-UNICODE