Fix NPE with tabby

This commit is contained in:
crschnick 2024-04-27 18:12:52 +00:00
parent 82003734b5
commit b112d23163
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ public interface TabbyTerminalType extends ExternalTerminalType {
// } // }
// return null; // return null;
// }); // });
return null; return TerminalInitFunction.none();
} }
class Windows extends ExternalTerminalType.WindowsType implements TabbyTerminalType { class Windows extends ExternalTerminalType.WindowsType implements TabbyTerminalType {

View file

@ -32,7 +32,7 @@ public class TerminalLauncher {
title, title,
type.shouldClear() type.shouldClear()
&& AppPrefs.get().clearTerminalOnInit().get(), && AppPrefs.get().clearTerminalOnInit().get(),
null), TerminalInitFunction.none()),
true); true);
var config = new ExternalTerminalType.LaunchConfiguration(null, title, title, script, sc.getShellDialect()); var config = new ExternalTerminalType.LaunchConfiguration(null, title, title, script, sc.getShellDialect());
type.launch(config); type.launch(config);