vedeu 0.5.13 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +6 -0
  3. data/bin/vedeu_drb_server +1 -0
  4. data/config/rubocop_enabled.yml +2 -2
  5. data/docs/events.md +2 -0
  6. data/docs/getting_started.md +1 -1
  7. data/examples/drb_app.rb +1 -0
  8. data/examples/editor_app.rb +76 -0
  9. data/lib/vedeu/all.rb +13 -7
  10. data/lib/vedeu/{bindings.rb → bindings/bindings.rb} +2 -0
  11. data/lib/vedeu/bindings/focus.rb +66 -0
  12. data/lib/vedeu/bindings/refresh.rb +77 -0
  13. data/lib/vedeu/bindings/system.rb +19 -88
  14. data/lib/vedeu/buffers/buffer.rb +8 -8
  15. data/lib/vedeu/configuration/api.rb +32 -11
  16. data/lib/vedeu/configuration/cli.rb +8 -0
  17. data/lib/vedeu/cursor/move.rb +1 -0
  18. data/lib/vedeu/distributed/templates/default_configuration.vedeu +1 -0
  19. data/lib/vedeu/{dsl.rb → dsl/dsl.rb} +0 -0
  20. data/lib/vedeu/exceptions.rb +1 -1
  21. data/lib/vedeu/geometry/position.rb +28 -0
  22. data/lib/vedeu/input/capture.rb +76 -0
  23. data/lib/vedeu/input/editor/all.rb +19 -0
  24. data/lib/vedeu/input/editor/cropper.rb +74 -0
  25. data/lib/vedeu/input/editor/document.rb +254 -0
  26. data/lib/vedeu/input/editor/documents.rb +18 -0
  27. data/lib/vedeu/input/editor/editor.rb +100 -0
  28. data/lib/vedeu/input/editor/line.rb +143 -0
  29. data/lib/vedeu/input/editor/lines.rb +199 -0
  30. data/lib/vedeu/input/editor/virtual_cursor.rb +167 -0
  31. data/lib/vedeu/input/input.rb +9 -93
  32. data/lib/vedeu/input/input_translator.rb +155 -0
  33. data/lib/vedeu/internal_api.rb +9 -0
  34. data/lib/vedeu/log/lockless_log_device.rb +1 -1
  35. data/lib/vedeu/models/escape.rb +7 -8
  36. data/lib/vedeu/output/direct.rb +59 -0
  37. data/lib/vedeu/output/renderers/terminal.rb +8 -0
  38. data/lib/vedeu/output/viewport.rb +2 -3
  39. data/lib/vedeu/{plugins.rb → plugins/plugins.rb} +0 -0
  40. data/lib/vedeu/refresh/refresh_cursor.rb +1 -0
  41. data/lib/vedeu/{repositories.rb → repositories/repositories.rb} +0 -0
  42. data/lib/vedeu/terminal/content.rb +88 -0
  43. data/lib/vedeu/terminal/mode.rb +79 -0
  44. data/lib/vedeu/{terminal.rb → terminal/terminal.rb} +9 -25
  45. data/lib/vedeu/version.rb +1 -1
  46. data/test/lib/vedeu/{bindings_test.rb → bindings/bindings_test.rb} +0 -0
  47. data/test/lib/vedeu/bindings/focus_test.rb +19 -0
  48. data/test/lib/vedeu/bindings/refresh_test.rb +19 -0
  49. data/test/lib/vedeu/bindings/system_test.rb +1 -6
  50. data/test/lib/vedeu/borders/render_border_test.rb +43 -10
  51. data/test/lib/vedeu/buffers/buffer_test.rb +18 -0
  52. data/test/lib/vedeu/buffers/virtual_buffer_test.rb +15 -0
  53. data/test/lib/vedeu/configuration/api_test.rb +18 -2
  54. data/test/lib/vedeu/configuration/cli_test.rb +5 -0
  55. data/test/lib/vedeu/cursor/move_test.rb +1 -1
  56. data/test/lib/vedeu/dsl/dsl_test.rb +8 -0
  57. data/test/lib/vedeu/dsl/shared_test.rb +12 -0
  58. data/test/lib/vedeu/{output → esc}/esc_test.rb +0 -0
  59. data/test/lib/vedeu/geometry/position_test.rb +56 -0
  60. data/test/lib/vedeu/input/capture_test.rb +63 -0
  61. data/test/lib/vedeu/input/editor/cropper_test.rb +82 -0
  62. data/test/lib/vedeu/input/editor/document_test.rb +190 -0
  63. data/test/lib/vedeu/input/editor/documents_test.rb +17 -0
  64. data/test/lib/vedeu/input/editor/editor_test.rb +170 -0
  65. data/test/lib/vedeu/input/editor/line_test.rb +333 -0
  66. data/test/lib/vedeu/input/editor/lines_test.rb +561 -0
  67. data/test/lib/vedeu/input/editor/virtual_cursor_test.rb +184 -0
  68. data/test/lib/vedeu/input/input_test.rb +20 -4
  69. data/test/lib/vedeu/input/input_translator_test.rb +32 -0
  70. data/test/lib/vedeu/internal_api_test.rb +1 -0
  71. data/test/lib/vedeu/models/escape_test.rb +6 -6
  72. data/test/lib/vedeu/models/views/view_test.rb +15 -2
  73. data/test/lib/vedeu/null/null_test.rb +8 -0
  74. data/test/lib/vedeu/output/direct_test.rb +70 -0
  75. data/test/lib/vedeu/{plugins_test.rb → plugins/plugins_test.rb} +0 -0
  76. data/test/lib/vedeu/{repositories_test.rb → repositories/repositories_test.rb} +0 -0
  77. data/test/lib/vedeu/terminal/content_test.rb +100 -0
  78. data/test/lib/vedeu/terminal/mode_test.rb +95 -0
  79. data/test/lib/vedeu/{terminal_test.rb → terminal/terminal_test.rb} +23 -23
  80. data/test/test_helper.rb +1 -0
  81. metadata +67 -20
  82. data/lib/vedeu/terminal_mode.rb +0 -59
  83. data/test/lib/vedeu/terminal_mode_test.rb +0 -72
@@ -0,0 +1,95 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+
5
+ module Terminal
6
+
7
+ describe Mode do
8
+
9
+ let(:described) { Vedeu::Terminal::Mode }
10
+
11
+ describe '.cooked_mode?' do
12
+ subject { described.cooked_mode? }
13
+
14
+ it 'returns true if the terminal is in cooked mode' do
15
+ described.cooked_mode!
16
+ subject.must_equal(true)
17
+ end
18
+
19
+ it 'returns false if the terminal is not in cooked mode' do
20
+ described.raw_mode!
21
+ subject.must_equal(false)
22
+ end
23
+ end
24
+
25
+ describe '.fake_mode?' do
26
+ subject { described.fake_mode? }
27
+
28
+ it 'returns true if the terminal is in fake mode' do
29
+ described.fake_mode!
30
+ subject.must_equal(true)
31
+ end
32
+
33
+ it 'returns false if the terminal is not in fake mode' do
34
+ described.raw_mode!
35
+ subject.must_equal(false)
36
+ end
37
+ end
38
+
39
+ describe '.raw_mode?' do
40
+ subject { described.raw_mode? }
41
+
42
+ it 'returns true if the terminal is in raw mode' do
43
+ described.raw_mode!
44
+ subject.must_equal(true)
45
+ end
46
+
47
+ it 'returns false if the terminal is not in raw mode' do
48
+ described.cooked_mode!
49
+ subject.must_equal(false)
50
+ end
51
+ end
52
+
53
+ describe '.switch_mode!' do
54
+ subject { described.switch_mode! }
55
+
56
+ it 'returns a Symbol' do
57
+ subject.must_be_instance_of(Symbol)
58
+ end
59
+
60
+ it 'returns :fake if previously :raw' do
61
+ described.raw_mode!
62
+ subject.must_equal(:fake)
63
+ end
64
+
65
+ it 'returns :cooked if previously :fake' do
66
+ described.fake_mode!
67
+ subject.must_equal(:cooked)
68
+ end
69
+
70
+ it 'returns :raw if previously :cooked' do
71
+ described.cooked_mode!
72
+ subject.must_equal(:raw)
73
+ end
74
+ end
75
+
76
+ describe '.mode' do
77
+ subject { described.mode }
78
+
79
+ before do
80
+ described.raw_mode!
81
+ Vedeu::Configuration.stubs(:terminal_mode).returns(:raw)
82
+ end
83
+
84
+ it { subject.must_be_instance_of(Symbol) }
85
+
86
+ it 'returns the configured terminal mode' do
87
+ subject.must_equal(:raw)
88
+ end
89
+ end
90
+
91
+ end # Mode
92
+
93
+ end # Terminal
94
+
95
+ end # Vedeu
@@ -14,13 +14,13 @@ module Vedeu
14
14
 
15
15
  describe '.open' do
16
16
  context 'when a block was not given' do
17
- it { proc { Terminal.open }.must_raise(Vedeu::InvalidSyntax) }
17
+ it { proc { Vedeu::Terminal.open }.must_raise(Vedeu::InvalidSyntax) }
18
18
  end
19
19
 
20
20
  it 'opens a new terminal console in raw mode' do
21
- Configuration.stub(:terminal_mode, :raw) do
21
+ Vedeu::Configuration.stub(:terminal_mode, :raw) do
22
22
  capture_io do
23
- Terminal.open do
23
+ Vedeu::Terminal.open do
24
24
  print 'Hello from raw mode!'
25
25
  end
26
26
  end.must_equal(['Hello from raw mode!', ''])
@@ -28,9 +28,9 @@ module Vedeu
28
28
  end
29
29
 
30
30
  it 'opens a new terminal console in cooked mode' do
31
- Configuration.stub(:terminal_mode, :cooked) do
31
+ Vedeu::Configuration.stub(:terminal_mode, :cooked) do
32
32
  capture_io do
33
- Terminal.open do
33
+ Vedeu::Terminal.open do
34
34
  print 'Hello from cooked mode!'
35
35
  end
36
36
  end.must_equal(['Hello from cooked mode!', ''])
@@ -39,7 +39,7 @@ module Vedeu
39
39
  end
40
40
 
41
41
  describe '.input' do
42
- subject { Terminal.input }
42
+ subject { Vedeu::Terminal.input }
43
43
 
44
44
  it { described.must_respond_to(:read) }
45
45
 
@@ -48,26 +48,26 @@ module Vedeu
48
48
  let(:input) { "Some input\r\n" }
49
49
 
50
50
  before do
51
- Terminal.stubs(:mode).returns(mode)
51
+ Vedeu::Terminal.stubs(:mode).returns(mode)
52
52
  console.stubs(:gets).returns(input)
53
53
  end
54
54
 
55
55
  it { subject.must_equal('Some input') }
56
56
  end
57
57
 
58
- context 'when the terminal is in raw mode' do
59
- let(:mode) { :raw }
60
- let(:input) { "\e" }
58
+ # context 'when the terminal is in raw mode' do
59
+ # let(:mode) { :raw }
60
+ # let(:input) { "\e[A" }
61
61
 
62
- before do
63
- Terminal.stubs(:mode).returns(mode)
64
- console.stubs(:getch).returns(input)
65
- input.stubs(:ord).returns(27)
66
- console.stubs(:read_nonblock)
67
- end
62
+ # before do
63
+ # Vedeu::Terminal.stubs(:mode).returns(mode)
64
+ # # console.stubs(:getch).returns(input)
65
+ # # input.stubs(:ord).returns(27)
66
+ # # console.stubs(:read_nonblock)
67
+ # end
68
68
 
69
- it { subject.must_be_instance_of(String) }
70
- end
69
+ # it { subject.must_be_instance_of(Symbol) }
70
+ # end
71
71
  end
72
72
 
73
73
  describe '.output' do
@@ -161,7 +161,7 @@ module Vedeu
161
161
  end
162
162
 
163
163
  describe '.origin' do
164
- subject { Terminal.origin }
164
+ subject { Vedeu::Terminal.origin }
165
165
 
166
166
  it { subject.must_be_instance_of(Fixnum) }
167
167
  it { subject.must_equal(1) }
@@ -172,7 +172,7 @@ module Vedeu
172
172
  end
173
173
 
174
174
  describe '.width' do
175
- subject { Terminal.width }
175
+ subject { Vedeu::Terminal.width }
176
176
 
177
177
  it { subject.must_be_instance_of(Fixnum) }
178
178
  it { described.must_respond_to(:xn) }
@@ -192,7 +192,7 @@ module Vedeu
192
192
  end
193
193
 
194
194
  describe '.height' do
195
- subject { Terminal.height }
195
+ subject { Vedeu::Terminal.height }
196
196
 
197
197
  it { subject.must_be_instance_of(Fixnum) }
198
198
  it { described.must_respond_to(:yn) }
@@ -212,7 +212,7 @@ module Vedeu
212
212
  end
213
213
 
214
214
  describe '.size' do
215
- subject { Terminal.size }
215
+ subject { Vedeu::Terminal.size }
216
216
 
217
217
  it { subject.must_be_instance_of(Array) }
218
218
 
@@ -223,7 +223,7 @@ module Vedeu
223
223
 
224
224
  describe '.console' do
225
225
  it 'returns the console' do
226
- Terminal.console.must_equal(console)
226
+ Vedeu::Terminal.console.must_equal(console)
227
227
  end
228
228
  end
229
229
 
data/test/test_helper.rb CHANGED
@@ -38,6 +38,7 @@ unless ENV['NO_SIMPLECOV']
38
38
  add_group 'repositories', 'vedeu/repositories'
39
39
  add_group 'runtime', 'vedeu/runtime'
40
40
  add_group 'templating', 'vedeu/templating'
41
+ add_group 'terminal', 'vedeu/terminal'
41
42
  end
42
43
  end
43
44
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vedeu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.13
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Laking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2015-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -244,6 +244,7 @@ files:
244
244
  - examples/colour_support.sh
245
245
  - examples/configuration_app.rb
246
246
  - examples/drb_app.rb
247
+ - examples/editor_app.rb
247
248
  - examples/focus_app.rb
248
249
  - examples/hello_world.rb
249
250
  - examples/material_colours_app.rb
@@ -265,11 +266,13 @@ files:
265
266
  - lib/vedeu/application/controller.rb
266
267
  - lib/vedeu/application/helper.rb
267
268
  - lib/vedeu/application/view.rb
268
- - lib/vedeu/bindings.rb
269
269
  - lib/vedeu/bindings/application.rb
270
+ - lib/vedeu/bindings/bindings.rb
270
271
  - lib/vedeu/bindings/drb.rb
272
+ - lib/vedeu/bindings/focus.rb
271
273
  - lib/vedeu/bindings/menus.rb
272
274
  - lib/vedeu/bindings/movement.rb
275
+ - lib/vedeu/bindings/refresh.rb
273
276
  - lib/vedeu/bindings/system.rb
274
277
  - lib/vedeu/bindings/visibility.rb
275
278
  - lib/vedeu/borders/border.rb
@@ -308,9 +311,9 @@ files:
308
311
  - lib/vedeu/distributed/templates/default_views.vedeu
309
312
  - lib/vedeu/distributed/test_application.rb
310
313
  - lib/vedeu/distributed/uri.rb
311
- - lib/vedeu/dsl.rb
312
314
  - lib/vedeu/dsl/border.rb
313
315
  - lib/vedeu/dsl/composition.rb
316
+ - lib/vedeu/dsl/dsl.rb
314
317
  - lib/vedeu/dsl/geometry.rb
315
318
  - lib/vedeu/dsl/group.rb
316
319
  - lib/vedeu/dsl/interface.rb
@@ -340,7 +343,17 @@ files:
340
343
  - lib/vedeu/geometry/geometry.rb
341
344
  - lib/vedeu/geometry/grid.rb
342
345
  - lib/vedeu/geometry/position.rb
346
+ - lib/vedeu/input/capture.rb
347
+ - lib/vedeu/input/editor/all.rb
348
+ - lib/vedeu/input/editor/cropper.rb
349
+ - lib/vedeu/input/editor/document.rb
350
+ - lib/vedeu/input/editor/documents.rb
351
+ - lib/vedeu/input/editor/editor.rb
352
+ - lib/vedeu/input/editor/line.rb
353
+ - lib/vedeu/input/editor/lines.rb
354
+ - lib/vedeu/input/editor/virtual_cursor.rb
343
355
  - lib/vedeu/input/input.rb
356
+ - lib/vedeu/input/input_translator.rb
344
357
  - lib/vedeu/input/key.rb
345
358
  - lib/vedeu/input/keymap.rb
346
359
  - lib/vedeu/input/keymaps.rb
@@ -383,6 +396,7 @@ files:
383
396
  - lib/vedeu/output/clear/named_group.rb
384
397
  - lib/vedeu/output/clear/named_interface.rb
385
398
  - lib/vedeu/output/compressor.rb
399
+ - lib/vedeu/output/direct.rb
386
400
  - lib/vedeu/output/html_char.rb
387
401
  - lib/vedeu/output/output.rb
388
402
  - lib/vedeu/output/presentation.rb
@@ -402,16 +416,16 @@ files:
402
416
  - lib/vedeu/output/text.rb
403
417
  - lib/vedeu/output/viewport.rb
404
418
  - lib/vedeu/output/wordwrap.rb
405
- - lib/vedeu/plugins.rb
406
419
  - lib/vedeu/plugins/plugin.rb
420
+ - lib/vedeu/plugins/plugins.rb
407
421
  - lib/vedeu/refresh/refresh.rb
408
422
  - lib/vedeu/refresh/refresh_buffer.rb
409
423
  - lib/vedeu/refresh/refresh_cursor.rb
410
424
  - lib/vedeu/refresh/refresh_group.rb
411
- - lib/vedeu/repositories.rb
412
425
  - lib/vedeu/repositories/collection.rb
413
426
  - lib/vedeu/repositories/model.rb
414
427
  - lib/vedeu/repositories/registerable.rb
428
+ - lib/vedeu/repositories/repositories.rb
415
429
  - lib/vedeu/repositories/repository.rb
416
430
  - lib/vedeu/repositories/store.rb
417
431
  - lib/vedeu/runtime/application.rb
@@ -427,8 +441,9 @@ files:
427
441
  - lib/vedeu/templating/helpers.rb
428
442
  - lib/vedeu/templating/template.rb
429
443
  - lib/vedeu/templating/view_template.rb
430
- - lib/vedeu/terminal.rb
431
- - lib/vedeu/terminal_mode.rb
444
+ - lib/vedeu/terminal/content.rb
445
+ - lib/vedeu/terminal/mode.rb
446
+ - lib/vedeu/terminal/terminal.rb
432
447
  - lib/vedeu/version.rb
433
448
  - test/lib/vedeu/api_test.rb
434
449
  - test/lib/vedeu/application/application_controller_test.rb
@@ -438,12 +453,14 @@ files:
438
453
  - test/lib/vedeu/application/helper_test.rb
439
454
  - test/lib/vedeu/application/view_test.rb
440
455
  - test/lib/vedeu/bindings/application_test.rb
456
+ - test/lib/vedeu/bindings/bindings_test.rb
441
457
  - test/lib/vedeu/bindings/drb_test.rb
458
+ - test/lib/vedeu/bindings/focus_test.rb
442
459
  - test/lib/vedeu/bindings/menus_test.rb
443
460
  - test/lib/vedeu/bindings/movement_test.rb
461
+ - test/lib/vedeu/bindings/refresh_test.rb
444
462
  - test/lib/vedeu/bindings/system_test.rb
445
463
  - test/lib/vedeu/bindings/visibility_test.rb
446
- - test/lib/vedeu/bindings_test.rb
447
464
  - test/lib/vedeu/borders/border_test.rb
448
465
  - test/lib/vedeu/borders/borders_test.rb
449
466
  - test/lib/vedeu/borders/render_border_test.rb
@@ -473,6 +490,7 @@ files:
473
490
  - test/lib/vedeu/distributed/uri_test.rb
474
491
  - test/lib/vedeu/dsl/border_test.rb
475
492
  - test/lib/vedeu/dsl/composition_test.rb
493
+ - test/lib/vedeu/dsl/dsl_test.rb
476
494
  - test/lib/vedeu/dsl/geometry_test.rb
477
495
  - test/lib/vedeu/dsl/group_test.rb
478
496
  - test/lib/vedeu/dsl/interface_test.rb
@@ -480,6 +498,7 @@ files:
480
498
  - test/lib/vedeu/dsl/line_test.rb
481
499
  - test/lib/vedeu/dsl/menu_test.rb
482
500
  - test/lib/vedeu/dsl/presentation_test.rb
501
+ - test/lib/vedeu/dsl/shared_test.rb
483
502
  - test/lib/vedeu/dsl/stream_test.rb
484
503
  - test/lib/vedeu/dsl/text_test.rb
485
504
  - test/lib/vedeu/dsl/use_test.rb
@@ -487,6 +506,7 @@ files:
487
506
  - test/lib/vedeu/esc/actions_test.rb
488
507
  - test/lib/vedeu/esc/borders_test.rb
489
508
  - test/lib/vedeu/esc/colours_test.rb
509
+ - test/lib/vedeu/esc/esc_test.rb
490
510
  - test/lib/vedeu/events/event_aliases_test.rb
491
511
  - test/lib/vedeu/events/event_collection_test.rb
492
512
  - test/lib/vedeu/events/event_test.rb
@@ -500,7 +520,16 @@ files:
500
520
  - test/lib/vedeu/geometry/geometry_test.rb
501
521
  - test/lib/vedeu/geometry/grid_test.rb
502
522
  - test/lib/vedeu/geometry/position_test.rb
523
+ - test/lib/vedeu/input/capture_test.rb
524
+ - test/lib/vedeu/input/editor/cropper_test.rb
525
+ - test/lib/vedeu/input/editor/document_test.rb
526
+ - test/lib/vedeu/input/editor/documents_test.rb
527
+ - test/lib/vedeu/input/editor/editor_test.rb
528
+ - test/lib/vedeu/input/editor/line_test.rb
529
+ - test/lib/vedeu/input/editor/lines_test.rb
530
+ - test/lib/vedeu/input/editor/virtual_cursor_test.rb
503
531
  - test/lib/vedeu/input/input_test.rb
532
+ - test/lib/vedeu/input/input_translator_test.rb
504
533
  - test/lib/vedeu/input/key_test.rb
505
534
  - test/lib/vedeu/input/keymap_test.rb
506
535
  - test/lib/vedeu/input/keymaps_test.rb
@@ -537,11 +566,12 @@ files:
537
566
  - test/lib/vedeu/null/geometry_test.rb
538
567
  - test/lib/vedeu/null/interface_test.rb
539
568
  - test/lib/vedeu/null/menu_test.rb
569
+ - test/lib/vedeu/null/null_test.rb
540
570
  - test/lib/vedeu/null/view_test.rb
541
571
  - test/lib/vedeu/output/clear/named_group_test.rb
542
572
  - test/lib/vedeu/output/clear/named_interface_test.rb
543
573
  - test/lib/vedeu/output/compressor_test.rb
544
- - test/lib/vedeu/output/esc_test.rb
574
+ - test/lib/vedeu/output/direct_test.rb
545
575
  - test/lib/vedeu/output/html_char_test.rb
546
576
  - test/lib/vedeu/output/output_test.rb
547
577
  - test/lib/vedeu/output/presentation/colour_test.rb
@@ -561,7 +591,7 @@ files:
561
591
  - test/lib/vedeu/output/viewport_test.rb
562
592
  - test/lib/vedeu/output/wordwrap_test.rb
563
593
  - test/lib/vedeu/plugins/plugin_test.rb
564
- - test/lib/vedeu/plugins_test.rb
594
+ - test/lib/vedeu/plugins/plugins_test.rb
565
595
  - test/lib/vedeu/refresh/refresh_buffer_test.rb
566
596
  - test/lib/vedeu/refresh/refresh_cursor_test.rb
567
597
  - test/lib/vedeu/refresh/refresh_group_test.rb
@@ -569,9 +599,9 @@ files:
569
599
  - test/lib/vedeu/repositories/collection_test.rb
570
600
  - test/lib/vedeu/repositories/model_test.rb
571
601
  - test/lib/vedeu/repositories/registerable_test.rb
602
+ - test/lib/vedeu/repositories/repositories_test.rb
572
603
  - test/lib/vedeu/repositories/repository_test.rb
573
604
  - test/lib/vedeu/repositories/store_test.rb
574
- - test/lib/vedeu/repositories_test.rb
575
605
  - test/lib/vedeu/runtime/application_test.rb
576
606
  - test/lib/vedeu/runtime/bootstrap_test.rb
577
607
  - test/lib/vedeu/runtime/flags_test.rb
@@ -584,8 +614,9 @@ files:
584
614
  - test/lib/vedeu/templating/helpers_test.rb
585
615
  - test/lib/vedeu/templating/template_test.rb
586
616
  - test/lib/vedeu/templating/view_template_test.rb
587
- - test/lib/vedeu/terminal_mode_test.rb
588
- - test/lib/vedeu/terminal_test.rb
617
+ - test/lib/vedeu/terminal/content_test.rb
618
+ - test/lib/vedeu/terminal/mode_test.rb
619
+ - test/lib/vedeu/terminal/terminal_test.rb
589
620
  - test/lib/vedeu_test.rb
590
621
  - test/support/all_seeds.sh
591
622
  - test/support/coverage.rb
@@ -626,12 +657,14 @@ test_files:
626
657
  - test/lib/vedeu/application/helper_test.rb
627
658
  - test/lib/vedeu/application/view_test.rb
628
659
  - test/lib/vedeu/bindings/application_test.rb
660
+ - test/lib/vedeu/bindings/bindings_test.rb
629
661
  - test/lib/vedeu/bindings/drb_test.rb
662
+ - test/lib/vedeu/bindings/focus_test.rb
630
663
  - test/lib/vedeu/bindings/menus_test.rb
631
664
  - test/lib/vedeu/bindings/movement_test.rb
665
+ - test/lib/vedeu/bindings/refresh_test.rb
632
666
  - test/lib/vedeu/bindings/system_test.rb
633
667
  - test/lib/vedeu/bindings/visibility_test.rb
634
- - test/lib/vedeu/bindings_test.rb
635
668
  - test/lib/vedeu/borders/border_test.rb
636
669
  - test/lib/vedeu/borders/borders_test.rb
637
670
  - test/lib/vedeu/borders/render_border_test.rb
@@ -661,6 +694,7 @@ test_files:
661
694
  - test/lib/vedeu/distributed/uri_test.rb
662
695
  - test/lib/vedeu/dsl/border_test.rb
663
696
  - test/lib/vedeu/dsl/composition_test.rb
697
+ - test/lib/vedeu/dsl/dsl_test.rb
664
698
  - test/lib/vedeu/dsl/geometry_test.rb
665
699
  - test/lib/vedeu/dsl/group_test.rb
666
700
  - test/lib/vedeu/dsl/interface_test.rb
@@ -668,6 +702,7 @@ test_files:
668
702
  - test/lib/vedeu/dsl/line_test.rb
669
703
  - test/lib/vedeu/dsl/menu_test.rb
670
704
  - test/lib/vedeu/dsl/presentation_test.rb
705
+ - test/lib/vedeu/dsl/shared_test.rb
671
706
  - test/lib/vedeu/dsl/stream_test.rb
672
707
  - test/lib/vedeu/dsl/text_test.rb
673
708
  - test/lib/vedeu/dsl/use_test.rb
@@ -675,6 +710,7 @@ test_files:
675
710
  - test/lib/vedeu/esc/actions_test.rb
676
711
  - test/lib/vedeu/esc/borders_test.rb
677
712
  - test/lib/vedeu/esc/colours_test.rb
713
+ - test/lib/vedeu/esc/esc_test.rb
678
714
  - test/lib/vedeu/events/event_aliases_test.rb
679
715
  - test/lib/vedeu/events/event_collection_test.rb
680
716
  - test/lib/vedeu/events/event_test.rb
@@ -688,7 +724,16 @@ test_files:
688
724
  - test/lib/vedeu/geometry/geometry_test.rb
689
725
  - test/lib/vedeu/geometry/grid_test.rb
690
726
  - test/lib/vedeu/geometry/position_test.rb
727
+ - test/lib/vedeu/input/capture_test.rb
728
+ - test/lib/vedeu/input/editor/cropper_test.rb
729
+ - test/lib/vedeu/input/editor/document_test.rb
730
+ - test/lib/vedeu/input/editor/documents_test.rb
731
+ - test/lib/vedeu/input/editor/editor_test.rb
732
+ - test/lib/vedeu/input/editor/line_test.rb
733
+ - test/lib/vedeu/input/editor/lines_test.rb
734
+ - test/lib/vedeu/input/editor/virtual_cursor_test.rb
691
735
  - test/lib/vedeu/input/input_test.rb
736
+ - test/lib/vedeu/input/input_translator_test.rb
692
737
  - test/lib/vedeu/input/key_test.rb
693
738
  - test/lib/vedeu/input/keymap_test.rb
694
739
  - test/lib/vedeu/input/keymaps_test.rb
@@ -725,11 +770,12 @@ test_files:
725
770
  - test/lib/vedeu/null/geometry_test.rb
726
771
  - test/lib/vedeu/null/interface_test.rb
727
772
  - test/lib/vedeu/null/menu_test.rb
773
+ - test/lib/vedeu/null/null_test.rb
728
774
  - test/lib/vedeu/null/view_test.rb
729
775
  - test/lib/vedeu/output/clear/named_group_test.rb
730
776
  - test/lib/vedeu/output/clear/named_interface_test.rb
731
777
  - test/lib/vedeu/output/compressor_test.rb
732
- - test/lib/vedeu/output/esc_test.rb
778
+ - test/lib/vedeu/output/direct_test.rb
733
779
  - test/lib/vedeu/output/html_char_test.rb
734
780
  - test/lib/vedeu/output/output_test.rb
735
781
  - test/lib/vedeu/output/presentation/colour_test.rb
@@ -749,7 +795,7 @@ test_files:
749
795
  - test/lib/vedeu/output/viewport_test.rb
750
796
  - test/lib/vedeu/output/wordwrap_test.rb
751
797
  - test/lib/vedeu/plugins/plugin_test.rb
752
- - test/lib/vedeu/plugins_test.rb
798
+ - test/lib/vedeu/plugins/plugins_test.rb
753
799
  - test/lib/vedeu/refresh/refresh_buffer_test.rb
754
800
  - test/lib/vedeu/refresh/refresh_cursor_test.rb
755
801
  - test/lib/vedeu/refresh/refresh_group_test.rb
@@ -757,9 +803,9 @@ test_files:
757
803
  - test/lib/vedeu/repositories/collection_test.rb
758
804
  - test/lib/vedeu/repositories/model_test.rb
759
805
  - test/lib/vedeu/repositories/registerable_test.rb
806
+ - test/lib/vedeu/repositories/repositories_test.rb
760
807
  - test/lib/vedeu/repositories/repository_test.rb
761
808
  - test/lib/vedeu/repositories/store_test.rb
762
- - test/lib/vedeu/repositories_test.rb
763
809
  - test/lib/vedeu/runtime/application_test.rb
764
810
  - test/lib/vedeu/runtime/bootstrap_test.rb
765
811
  - test/lib/vedeu/runtime/flags_test.rb
@@ -772,8 +818,9 @@ test_files:
772
818
  - test/lib/vedeu/templating/helpers_test.rb
773
819
  - test/lib/vedeu/templating/template_test.rb
774
820
  - test/lib/vedeu/templating/view_template_test.rb
775
- - test/lib/vedeu/terminal_mode_test.rb
776
- - test/lib/vedeu/terminal_test.rb
821
+ - test/lib/vedeu/terminal/content_test.rb
822
+ - test/lib/vedeu/terminal/mode_test.rb
823
+ - test/lib/vedeu/terminal/terminal_test.rb
777
824
  - test/lib/vedeu_test.rb
778
825
  - test/support/all_seeds.sh
779
826
  - test/support/coverage.rb