Описание
# CC: Terminals
GUI-based (dumb) terminal peripheral blocks for CC:Tweaked.
## Content
- Terminal and Advanced Terminal blocks
- Full `term` API exposed as a peripheral
- `computercraft:terminal_size` data component support
- Bundled `terminal` program with shell autocompletion
- Compatibility with [CC: Graphics](https://modrinth.com/mod/cc-graphics) (0.1.4+)
## Blocks
- **Terminal** - grayscale display, keyboard input
- **Advanced Terminal** - color display, keyboard and mouse input
## Events
Events fired on attached computers when a player interacts with the terminal GUI:
| Event | Arguments | Normal | Advanced |
|---|---|---|---|
| `terminal_key` | `side, key, isRepeat` | yes | yes |
| `terminal_key_up` | `side, key` | yes | yes |
| `terminal_char` | `side, character` | yes | yes |
| `terminal_paste` | `side, text` | yes | yes |
| `terminal_mouse_click` | `side, button, x, y` | no | yes |
| `terminal_mouse_up` | `side, button, x, y` | no | yes |
| `terminal_mouse_drag` | `side, button, x, y` | no | yes |
| `terminal_mouse_scroll` | `side, direction, x, y` | no | yes |
## Programs
```
terminal [arguments]
```
Redirects output to the terminal peripheral and translates `terminal_*` events into standard events (`key`, `char`, `mouse_click`, etc.) so any program runs unmodified.
## Requirements
Requires CC:Tweaked 1.117.0+ on Minecraft 1.21.1. Available for both Fabric and NeoForge.