Fix to tell SPA themes what's up

This commit is contained in:
iliajie
2022-10-31 16:29:58 +02:00
parent bf74599502
commit 1a296d9579

View File

@@ -270,11 +270,13 @@ print "<script>\n";
if ($xmlhr) {
print "var xterm_argv = ".
&convert_to_json(
{ 'files' => $termlinks,
'cols' => $env_cols,
'rows' => $env_rows,
'port' => $port,
'socket_url' => $url });
{ 'conf' => \%config,
'files' => $termlinks,
'socket_url' => $url,
'port' => $port,
'cols' => $env_cols,
'rows' => $env_rows,
'ps1' => $ps1 });
}
else {
print $term_script;