Read paste option in screen init

Fixes #1767
This commit is contained in:
Zachary Yedidia 2020-07-10 12:26:15 -04:00
parent a52dbb2142
commit a45591a24d

View file

@ -159,6 +159,8 @@ func Init() error {
return err
}
Screen.SetPaste(config.GetGlobalOption("paste").(bool))
// restore TERM
if config.GetGlobalOption("xterm").(bool) {
os.Setenv("TERM", oldTerm)