Support persisting filesystem

This commit is contained in:
momo5502
2025-06-15 17:33:29 +02:00
parent b51dd0e94a
commit 8ece8a556d
5 changed files with 48 additions and 11 deletions

View File

@@ -83,6 +83,17 @@ export class SettingsMenu extends React.Component<SettingsMenuProps, Settings> {
/>
<Label htmlFor="settings-buffer">Buffer stdout</Label>
</div>
<div className="flex gap-6">
<Checkbox
id="settings-persist"
checked={this.state.persist}
onCheckedChange={(checked: boolean) => {
this.setState({ persist: checked });
}}
/>
<Label htmlFor="settings-persist">Persist filesystem</Label>
</div>
</div>
);
}