tgui say update (#17273)

* tgui say update

* .

* also fix the tgui say limit

* handle batching

* max chunks

* enable~
This commit is contained in:
Kashargul
2025-03-06 22:47:56 +01:00
committed by GitHub
parent bb5c988555
commit 5d1a3923aa
11 changed files with 118 additions and 33 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
* * encode - Toggling this determines if input is filtered via html_encode. Setting this to FALSE gives raw input.
* * timeout - The timeout of the textbox, after which the modal will close and qdel itself. Set to zero for no timeout.
*/
/proc/tgui_input_text(mob/user, message = "", title = "Text Input", default, max_length = INFINITY, multiline = FALSE, encode = FALSE, timeout = 0, prevent_enter = FALSE)
/proc/tgui_input_text(mob/user, message = "", title = "Text Input", default, max_length = 130000, multiline = FALSE, encode = FALSE, timeout = 0, prevent_enter = FALSE) // 130k limit due to chunking limit... if we need longer that needs fixing
if (!user)
user = usr
if (!istype(user))