new: setting of termCursor type

This commit is contained in:
lollipopkit
2024-03-08 02:03:11 -06:00
parent b9aa4ba124
commit 2ddc29f45e
14 changed files with 209 additions and 298 deletions

View File

@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:toolbox/core/persistant_store.dart';
import 'package:toolbox/core/utils/platform/base.dart';
import 'package:toolbox/data/model/app/menu/server_func.dart';
import 'package:xterm/ui.dart';
import '../model/app/net_view.dart';
import '../res/default.dart';
@@ -255,6 +256,10 @@ class SettingStore extends PersistentStore {
/// 0: unset, 1: use, 2: not use
late final useCdn = property('useCdn', 0);
/// Index of terminal cursor type
late final termCursor =
property('termCursor', TerminalCursorType.block.index);
// Never show these settings for users
//
// ------BEGIN------