You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a good reason for text_input to exist? It's new enough that few if any programs use it and it doesn't really resemble other OpenComputers versions. It's also not that useful - even for a simple text input function, you'd still have to query key_down signals for things like Return or Backspace or arrow keys.
So there is a reason for this, and piecing it together from previous conversations that happened is that the text_input signal is meant to be more compatible with different IMEs (ie non-English-locale keyboards and such) than key_down/key_up are. This is because text_input works at the character level and key_{up,down} work at the keyboard scancode layer. The timing of getting the feature worked out meant that it didn't ever really get a chance to get widely deployed until now, so this is effectively the first time it has made it out to the wild, so naturally there isn't a wide base of software that supports it yet.
There's no harm in leaving it at this point, and hopefully it will accomplish its intended purpose at some point down the line.
Good to know. Thanks for the extra context both here and in #oc, I see the point of it now ...and I suppose CC does the same thing so it's not like there's not some precedent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Is there a good reason for
text_inputto exist? It's new enough that few if any programs use it and it doesn't really resemble other OpenComputers versions. It's also not that useful - even for a simple text input function, you'd still have to querykey_downsignals for things like Return or Backspace or arrow keys.