godot-xterm/addons/godot_xterm/terminal.gd

31 lines
710 B
GDScript
Raw Permalink Normal View History

2024-02-07 10:01:27 +01:00
# Copyright (c) 2021, Leroy Hopson (MIT License).
#
# This file contains snippets of code derived from Godot's TextEdit node.
# These snippets are copyright of their authors and released under the MIT license:
# - Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur (MIT License).
# - Copyright (c) 2014-2021 Godot Engine contributors (MIT License).
@tool
extends Control
enum UpdateMode {
DISABLED,
AUTO,
ALL,
ALL_NEXT_FRAME,
}
enum SelectionMode {
NONE,
POINTER,
}
@export var update_mode: UpdateMode = UpdateMode.AUTO:
2024-02-07 10:01:27 +01:00
get:
return update_mode # TODOConverter40 Non existent get function
2024-02-07 10:01:27 +01:00
set(p_update_mode):
set_update_mode(p_update_mode)
func set_update_mode(value):
update_mode = value