mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 15:40:23 +00:00
Fix NPE with tabby
This commit is contained in:
parent
82003734b5
commit
b112d23163
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue