瀏覽代碼

Enable mouse input by default.

xuty 3 年之前
父節點
當前提交
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 {
   TerminalController({
     SelectionMode selectionMode = SelectionMode.line,
-    PointerInputs pointerInputs = const PointerInputs.none(),
+    PointerInputs pointerInputs = const PointerInputs({PointerInput.tap}),
     bool suspendPointerInput = false,
   })  : _selectionMode = selectionMode,
         _pointerInputs = pointerInputs,