Release v0.13.1
This commit is contained in:
@@ -17,6 +17,7 @@ export interface Settings {
|
||||
theme?: string;
|
||||
compaction?: CompactionSettings;
|
||||
hideThinkingBlock?: boolean;
|
||||
shellPath?: string; // Custom shell path (e.g., for Cygwin users on Windows)
|
||||
}
|
||||
|
||||
export class SettingsManager {
|
||||
@@ -153,4 +154,13 @@ export class SettingsManager {
|
||||
this.settings.hideThinkingBlock = hide;
|
||||
this.save();
|
||||
}
|
||||
|
||||
getShellPath(): string | undefined {
|
||||
return this.settings.shellPath;
|
||||
}
|
||||
|
||||
setShellPath(path: string | undefined): void {
|
||||
this.settings.shellPath = path;
|
||||
this.save();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user