mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-06 04:55:30 +02:00
Godot 4 automatic changes
This commit is contained in:
parent
8b5caafbc7
commit
cdbf3f2adc
75 changed files with 1034 additions and 952 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="ShortCut" load_steps=2 format=2]
|
||||
[gd_resource type="Shortcut" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
shift = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="ShortCut" load_steps=2 format=2]
|
||||
[gd_resource type="Shortcut" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
shift = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="ShortCut" load_steps=2 format=2]
|
||||
[gd_resource type="Shortcut" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
shift = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="ShortCut" load_steps=2 format=2]
|
||||
[gd_resource type="Shortcut" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
shift = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="ShortCut" load_steps=2 format=2]
|
||||
[gd_resource type="Shortcut" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
control = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="ShortCut" load_steps=2 format=2]
|
||||
[gd_resource type="Shortcut" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="InputEventKey" id=1]
|
||||
control = true
|
||||
|
|
|
@ -12,48 +12,48 @@ enum CWDType {
|
|||
|
||||
### Shortcuts ###
|
||||
|
||||
export(ShortCut) var new_terminal_shortcut = preload("./default_new_terminal_shortcut.tres")
|
||||
export(ShortCut) var kill_terminal_shortcut = preload("./default_kill_terminal_shortcut.tres")
|
||||
export(ShortCut) var copy_shortcut = preload("./default_copy_shortcut.tres")
|
||||
export(ShortCut) var paste_shortcut = preload("./default_paste_shortcut.tres")
|
||||
@export var new_terminal_shortcut: Shortcut = preload("./default_new_terminal_shortcut.tres")
|
||||
@export var kill_terminal_shortcut: Shortcut = preload("./default_kill_terminal_shortcut.tres")
|
||||
@export var copy_shortcut: Shortcut = preload("./default_copy_shortcut.tres")
|
||||
@export var paste_shortcut: Shortcut = preload("./default_paste_shortcut.tres")
|
||||
|
||||
export(ShortCut) var next_tab_shortcut = preload("./default_tab_right_shortcut.tres")
|
||||
export(ShortCut) var previous_tab_shortcut = preload("./default_tab_left_shortcut.tres")
|
||||
@export var next_tab_shortcut: Shortcut = preload("./default_tab_right_shortcut.tres")
|
||||
@export var previous_tab_shortcut: Shortcut = preload("./default_tab_left_shortcut.tres")
|
||||
|
||||
### Scroll settings ###
|
||||
|
||||
# The maximum amount of lines the terminal keeps in its buffer.
|
||||
export var scrollback_buffer_lines := 1000
|
||||
@export var scrollback_buffer_lines := 1000
|
||||
# If true, mouse wheel up and down can be used to scroll the terminal.
|
||||
export var mouse_wheel_scroll := true
|
||||
@export var mouse_wheel_scroll := true
|
||||
# Whether or not to display scroll bar.
|
||||
export var show_scroll_bar := true
|
||||
@export var show_scroll_bar := true
|
||||
|
||||
# Copy/paste settings.
|
||||
export var copy_on_selection := false
|
||||
@export var copy_on_selection := false
|
||||
|
||||
# Font settings.
|
||||
export var font_size: int = 14
|
||||
export var letter_spacing: int = 0
|
||||
export var line_height: float = 1.2
|
||||
export var ctrl_scroll_to_resize_font := true
|
||||
@export var font_size: int = 14
|
||||
@export var letter_spacing: int = 0
|
||||
@export var line_height: float = 1.2
|
||||
@export var ctrl_scroll_to_resize_font := true
|
||||
|
||||
# Bell settings.
|
||||
export var visual_bell := true
|
||||
export var audio_bell := true
|
||||
export var bell_sound: AudioStream
|
||||
@export var visual_bell := true
|
||||
@export var audio_bell := true
|
||||
@export var bell_sound: AudioStream
|
||||
|
||||
# Exec args.
|
||||
export(FileType) var file_type := FileType.USE_SHELL_ENV
|
||||
export var custom_file := "/bin/sh"
|
||||
@export var file_type: FileType := FileType.USE_SHELL_ENV
|
||||
@export var custom_file := "/bin/sh"
|
||||
|
||||
export(CWDType) var cwd_type := CWDType.USE_PROJECT_DIRECTORY
|
||||
export var custom_cwd := ""
|
||||
@export var cwd_type: CWDType := CWDType.USE_PROJECT_DIRECTORY
|
||||
@export var custom_cwd := ""
|
||||
|
||||
export var args := PoolStringArray()
|
||||
@export var args := PackedStringArray()
|
||||
|
||||
export var use_os_env := true
|
||||
export var extra_env := {
|
||||
@export var use_os_env := true
|
||||
@export var extra_env := {
|
||||
TERM = "xterm-256color",
|
||||
COLORTERM = "truecolor",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue