minput_reset_ic(3m17n)
β¨ 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 π
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
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms