FakeCliTerminal.interactive constructor

FakeCliTerminal.interactive({
  1. List<String> input = const [],
  2. int width = 80,
  3. int height = 24,
  4. FakeClock? fakeClock,
  5. bool progressReports = false,
})

Somebody answers at a terminal that redraws, width × height cells: the inline session gets input as typed. fakeClock times it, the wall clock without one; progressReports as above.

Implementation

FakeCliTerminal.interactive({
  List<String> input = const [],
  int width = 80,
  int height = 24,
  FakeClock? fakeClock,
  bool progressReports = false,
}) : this(
       ansi: true,
       interactiveInput: true,
       outputIsTerminal: true,
       input: input,
       width: width,
       height: height,
       fakeClock: fakeClock,
       progressReports: progressReports,
     );