fix: clear input_text before input result return
This commit is contained in:
1 parent
9eff3e3224
commit
46de106e8a
1 file changed
+3
-1
+3
-1
@@ -249,5 +249,7 @@ function InputBox:input(ypos, height, title, d_text)
|
||||
end -- if
|
||||
end -- while
|
||||
|
||||
return self.input_string
|
||||
local return_str = self.input_string
|
||||
self.input_string = ""
|
||||
return return_str
|
||||
end
|
||||
Reference in new issue
Block a user