mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-10 14:05:32 +02:00
Add/update more files
This commit is contained in:
parent
3307231b65
commit
0769592a1b
44 changed files with 4188 additions and 362 deletions
24
addons/godot_xterm/data/charsets.gd
Normal file
24
addons/godot_xterm/data/charsets.gd
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Copyrigth (c) 2016 The xterm.js authors. All rights reserved
|
||||
# Ported to GDScript by the GodotXterm authors.
|
||||
# License MIT
|
||||
extends Reference
|
||||
|
||||
|
||||
# The character sets supported by the terminal. These enable several languages
|
||||
# to be represented within the terminal with only 8-bit encoding. See ISO 2022
|
||||
# for a discussion on character sets. Only VT100 character sets are supported.
|
||||
const CHARSETS = {
|
||||
# British character set
|
||||
# ESC (A
|
||||
# Reference: http://vt100.net/docs/vt220-rm/table2-5.html
|
||||
'A': {
|
||||
'#': '£'
|
||||
},
|
||||
|
||||
# United States character set
|
||||
# ESC (B
|
||||
'B': null,
|
||||
}
|
||||
|
||||
# The default character set, US.
|
||||
const DEFAULT_CHARSET = CHARSETS['B']
|
Loading…
Add table
Add a link
Reference in a new issue