This website requires JavaScript.
Explore
Help
Sign In
Jasima
/
godot-xterm
Watch
1
Star
0
Fork
You've already forked godot-xterm
0
mirror of
https://github.com/lihop/godot-xterm.git
synced
2024-11-25 02:30:27 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
8b320622f9
godot-xterm
/
examples
/
terminal
/
terminal.gd
8 lines
98 B
GDScript
Raw
Normal View
History
Unescape
Escape
Further progress towards Godot 4.0 support - Primary example scenes (menu, terminal, and asciicast) working but still a lot of warning/error messages and some regressions. - Editor integrated terminal works, but still a lot of warning/error messages and some regressions. - Added support for "blink" display attribute. - Removed GDScript terminal code. Terminal node is now purely a GDExtension. So is LibuvUtils. - GUT tests not working yet. - Still a lot of things to fix. - So far, only built for and manually tested on Linux x86_64.
2023-01-08 10:41:48 +01:00
extends
Terminal
Add new PTY node (replaces Pseudoterminal node) Uses fork of node-pty native code for forking pseudoterminals. Uses libuv pipe handle to communicate with the child process. - Paves the way for cross-platform (Linux, macOS and Windows) support. - Renames Pseudoterminal to PTY (which is much easier to type and spell :D). - Better performance than the old Pseudoterminal node. Especially when streaming large amounts of data such as running the `yes` command. - Allows setting custom file, args, initial window size, cwd, env vars (including important ones such as TERM and COLORTERM) and uid/gid on Linux and macOS. - Returns process exit code and terminating signal.
2021-07-02 19:27:34 +02:00
Godot 4 automatic changes
2022-11-09 21:57:46 +01:00
@onready
var
pty
=
$PTY
Add new PTY node (replaces Pseudoterminal node) Uses fork of node-pty native code for forking pseudoterminals. Uses libuv pipe handle to communicate with the child process. - Paves the way for cross-platform (Linux, macOS and Windows) support. - Renames Pseudoterminal to PTY (which is much easier to type and spell :D). - Better performance than the old Pseudoterminal node. Especially when streaming large amounts of data such as running the `yes` command. - Allows setting custom file, args, initial window size, cwd, env vars (including important ones such as TERM and COLORTERM) and uid/gid on Linux and macOS. - Returns process exit code and terminating signal.
2021-07-02 19:27:34 +02:00
func
_ready
(
)
:
pty
.
fork
(
OS
.
get_environment
(
"
SHELL
"
)
)
Reference in a new issue
Copy permalink