minput_reset_ic(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

minput_reset_ic β€” bestie, this is the lil function that resets ur input context, no cap πŸ’…


🌸 SYNOPSIS 🌸

void minput_reset_ic (MInputContext * ic)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. Reset an input context. That's the whole vibe. πŸŽ€

The minput_reset_ic() function resets the input context ic by calling a callback function that corresponds to Minput_reset. It resets the status of ic back to its initial one β€” like a little factory reset for ur input state, iconic behavior honestly.

⚠️ but bestie listen. The current preedit text gets deleted without commitment. Gone. Not committed. Just yeeted. 😭

So if u actually want that preedit text to survive, u gotta call minput_filter() with the arg key Mnil to force the input method to commit the preedit in advance. Do it before, not after, iykyk. 🫢


Copyright (C) 2001 Information-technology Promotion Agency (IPA)

Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.


Version 1.8.4 Β· Mon Sep 25 2023 β€” that's the whole page bestie, mwah πŸ’–βœ¨πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from