mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-05 04:34:23 +02:00
Probably some progress
This commit is contained in:
parent
b1ec881c8c
commit
5c39a8071f
7 changed files with 47 additions and 61 deletions
|
@ -60,10 +60,12 @@ func _on_Terminal_key_pressed(_data, event: InputEventKey):
|
|||
_tput.sgr0()
|
||||
prompt("\r\n>> ")
|
||||
else:
|
||||
var json = JavaScript.eval("JSON.stringify(%s)" % line, true)
|
||||
_tput.setaf(TPut.ANSIColor.magenta)
|
||||
terminal.write(str(json))
|
||||
_tput.sgr0()
|
||||
# TODO: godot4
|
||||
pass
|
||||
# var json = JavaScript.eval("JSON.stringify(%s)" % line, true)
|
||||
# _tput.setaf(TPut.ANSIColor.magenta)
|
||||
# terminal.write(str(json))
|
||||
# _tput.sgr0()
|
||||
|
||||
line = ""
|
||||
#_tput.srg0()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue