Add preserveCWD option
This commit is contained in:
parent
cc550b7c73
commit
f79006bae1
4 changed files with 19 additions and 3 deletions
|
|
@ -45,12 +45,12 @@ export function requestTermGroup(activeUid: string) {
|
|||
dispatch({
|
||||
type: TERM_GROUP_REQUEST,
|
||||
effect: () => {
|
||||
const {ui} = getState();
|
||||
const {ui, sessions} = getState();
|
||||
const {cwd} = ui;
|
||||
rpc.emit('new', {
|
||||
isNewGroup: true,
|
||||
cwd,
|
||||
activeUid
|
||||
activeUid: activeUid ? activeUid : sessions.activeUid
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
1
lib/config.d.ts
vendored
1
lib/config.d.ts
vendored
|
|
@ -50,6 +50,7 @@ export type configOptions = {
|
|||
cmdIsMeta: boolean;
|
||||
};
|
||||
padding: string;
|
||||
preserveCWD: boolean;
|
||||
quickEdit: boolean;
|
||||
screenReaderMode: boolean;
|
||||
scrollback: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue