aboutsummaryrefslogtreecommitdiffstats
path: root/config/general.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-04-23 08:01:24 -0500
committerRobin Jarry <robin@jarry.cc>2023-04-24 09:49:00 +0200
commit3d99fae3d22422f5e46b5c983abd617187144bc8 (patch)
treeab306219954a1a143a799346d50316ee40459b9d /config/general.go
parentc7b122f4c4a87cd54402c78465e1a5c882f37aeb (diff)
downloadaerc-3d99fae3d22422f5e46b5c983abd617187144bc8.tar.gz
term: add config options for TERM and osc8
Add config options for setting the TERM environment variable used in tcell-term and for enabling or disabling OSC8 escape sequence output. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry<robin@jarry.cc>
Diffstat (limited to 'config/general.go')
-rw-r--r--config/general.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/general.go b/config/general.go
index a2c5e765..65c20cfd 100644
--- a/config/general.go
+++ b/config/general.go
@@ -17,6 +17,8 @@ type GeneralConfig struct {
LogFile string `ini:"log-file"`
LogLevel log.LogLevel `ini:"log-level" default:"info" parse:"ParseLogLevel"`
DisableIPC bool `ini:"disable-ipc"`
+ EnableOSC8 bool `ini:"enable-osc8" default:"false"`
+ Term string `ini:"term" default:"xterm-256color"`
}
var General = new(GeneralConfig)