mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
new: setting of termCursor type
This commit is contained in:
@@ -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------
|
||||
|
||||
Reference in New Issue
Block a user