chore(term): remove unused code

Removes unused code from `terminal.gd`.
The status of `update_mode` is still unclear, so has been left for now.
This commit is contained in:
Leroy Hopson 2024-05-10 21:47:41 +12:00 committed by Leroy Hopson
parent 77b1481f8e
commit b29d809bc0
2 changed files with 6 additions and 264 deletions

View file

@ -101,6 +101,7 @@ namespace godot
double blink_on_time;
double blink_off_time;
// If true, text in the terminal will be copied to the clipboard when selected.
bool copy_on_selection;
InverseMode inverse_mode;
@ -115,7 +116,12 @@ namespace godot
static void _write_cb(struct tsm_vte *vte, const char *u8, size_t len,
void *data);
// If muted, the "bell" signal will not be emitted when the bell "\u0007" character
// is written to the terminal.
bool bell_muted;
// Amount of time in seconds that must pass before emitting a new "bell" signal.
// This can be useful in cases where the bell character is being written too
// frequently such as `while true; do echo -e "\a"; done`.
double bell_cooldown;
Timer* bell_timer;
static void _bell_cb(struct tsm_vte *vte, void *data);