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
For example, when I type or pasteselect host() \n, I hope to handle it directly when encounter\n, but when I directly paste the text select\nhost()\n, I hope to not handle it directly when encounter the first \n and wait for the input of host() before processing.
In summary, it is to determine whether there is any unread content after \n. If not, it will be processed directly. Otherwise, continue reading
something like the following
The text was updated successfully, but these errors were encountered:
i tried to fix this but its pretty hard. i think the way this usually works is via timing. i.e. if there's a \n , you'd check if the next character came in too fast to be a human typing. this is weird and i hate it
For example, when I type or paste
select host() \n
, I hope to handle it directly when encounter\n
, but when I directly paste the textselect\nhost()\n
, I hope to not handle it directly when encounter the first\n
and wait for the input ofhost()
before processing.In summary, it is to determine whether there is any unread content after
\n
. If not, it will be processed directly. Otherwise, continue readingsomething like the following

The text was updated successfully, but these errors were encountered: