Просмотр исходного кода

Enable mouse input by default.

xuty 3 лет назад
Родитель
Сommit
6b23d5ed38
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/src/ui/controller.dart

+ 1 - 1
lib/src/ui/controller.dart

@@ -10,7 +10,7 @@ import 'package:xterm/src/ui/selection_mode.dart';
 class TerminalController with ChangeNotifier {
 class TerminalController with ChangeNotifier {
   TerminalController({
   TerminalController({
     SelectionMode selectionMode = SelectionMode.line,
     SelectionMode selectionMode = SelectionMode.line,
-    PointerInputs pointerInputs = const PointerInputs.none(),
+    PointerInputs pointerInputs = const PointerInputs({PointerInput.tap}),
     bool suspendPointerInput = false,
     bool suspendPointerInput = false,
   })  : _selectionMode = selectionMode,
   })  : _selectionMode = selectionMode,
         _pointerInputs = pointerInputs,
         _pointerInputs = pointerInputs,