Ver Fonte

Enable mouse input by default.

xuty há 3 anos atrás
pai
commit
6b23d5ed38
1 ficheiros alterados com 1 adições e 1 exclusões
  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 {
   TerminalController({
     SelectionMode selectionMode = SelectionMode.line,
-    PointerInputs pointerInputs = const PointerInputs.none(),
+    PointerInputs pointerInputs = const PointerInputs({PointerInput.tap}),
     bool suspendPointerInput = false,
   })  : _selectionMode = selectionMode,
         _pointerInputs = pointerInputs,