forked from cronvel/terminal-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
1988 lines (1042 loc) · 31.3 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
v1.13.12
--------
New method: .eraseArea() -- a handy higher level method that erases a rectangular area on the screen (#51)
v1.13.11
--------
Mitigated an issue with terminal detection on Windows
v1.13.10
--------
.inputField(): new option echoChar (issue #45) ; + fixed few redraw bug
v1.13.9
-------
New: term.tabSet() .tabClear() .tabClearAll() .forwardTab() and .backwardTab()
v1.13.8
-------
.gridMenu() now supports an 'x' and 'width' option (issue #45)
v1.13.7
-------
ScreenBufferHD is not considered unstable anymore, it is now under the SemVer contract
v1.13.6
-------
Documentation improvements
v1.13.5
-------
.stripEscapeSequences(), .stringWidth() and .truncateString() are now documentated and part of the SemVer contract
v1.13.4
-------
Unstable API fixed: termkit.stringTruncate() -> termkit.truncateString()
v1.13.3
-------
String-kit dependency upgraded.
Utilities: termkit.stringWidth(), termkit.stringTruncate().
v1.13.2
-------
New: termkit.stripEscapeSequences()
v1.13.1
-------
New: term.eraseScrollback() -- erase the scrollback buffer, a.k.a. saved line.
term.bindArgs() is now documented thus under the SemVer contract
v1.13.0
-------
New: term.bindArgs() refacto, it is now a regular chainable method, returned bounded function is chainable as well.
Too much chainable refacto, so this is a SemVer minor.
v1.12.3
-------
Documentation improved (issue #42), more color utilities and term.bindArgs() (both beta/undocumented)
v1.12.2
-------
New: term.colorNameForRgb()
v1.12.1
-------
term.bar() bugfixed + new options: barStyle
v1.12.0
-------
* New: term.bar() -- it creates a bar representing the value, it uses unicode to improve the precision
* Undocumented spChars.enlargingBlocks and spChars.growingBlocks fixed: now index 0 is for whitespace like it should,
all other characters are shifted.
v1.11.2
-------
New: .inputField() now supports a meta key binding (PR #40 by samizdatco)
v1.11.1
-------
New: .inputField()'s .rebase() method now supports an x and y arguments to use as the new coordinates instead of the result of an asynchronous internal call to .getCursorLocation() (PR #38)
v1.11.0
-------
New: .progressBar() now supports option 'inline', so it redraws itself at the begining of the current line instead of being locked in-place (fix issue #36)
v1.10.2
-------
TextBuffer: bugfixing ScreenBufferHD backing
v1.10.1
-------
ScreenBuffer*: Fixing bugs in the new default fg/bg color feature
v1.10.0
-------
ScreenBuffer/ScreenBufferHD:
* support for terminal default BG/FG color (#30), this works through the new attr options: 'defaultColor'
and 'bgDefaultColor', this is the default options for .fill() and at ScreenBuffer/ScreenBufferHD creation
* support for full transparency in the terminal blitter (BTW partial transparency is not possible, since we can't
access terminal cells)
v1.9.0
------
.inputField(): Cherry-picking (and improving) from @samizdatco PR: adding Ctrl-W/Alt-D to produce delete previous/next word (#21)
v1.8.13
-------
Fixed Ctrl-U/Ctrl-K redraw issues when hint are turned off #21
v1.8.12
-------
spChars: rounded box
v1.8.11
-------
Fixed #29 (ndarray should be listed as direct dependency, so it would not break when node_modules/ is not flat)
v1.8.10
-------
.singleColumnMenu(): more improvements
v1.8.8 - v1.8.9
---------------
.inputField() fixed coordinate
v1.8.7
------
.singleColumnMenu(): fixed minor initialization issues
v1.8.6
------
Fixed issue when leaving mouse motion grabbing (e.g.: when exiting using term.processExit()),
added an async mode to .grabInput() necessary to accomplish this.
Basically, there is a delay between turning off mouse grabbing and turning off raw mode
v1.8.5
------
Lot of minor fixes (exit cleanup, menu, .getCursorLocation(), etc)
v1.8.4
------
.singleColumnMenu(): more minor fixes
v1.8.3
------
.singleColumnMenu() and .gridMenu() extra lines fixed
v1.8.2
------
.singleColumnMenu() fixed and improved, Terminal detection fixed and improved (fix #26)
v1.8.1
------
Fix some shutdown issues in .processExit()
v1.8.0
------
Fixed spelling error in options of .singleColumnMenu() and .gridMenu()
v1.7.2
------
Image loader: better error handling
v1.7.1
------
Image loader fixed: now the callback is optional
v1.7.0
------
ScreenBuffer*#vScrollBuffer() is renamed ScreenBuffer*#vScroll(), is refactored,
it manages dst terminal scrolling, and is now part of the public API
v1.6.8
------
Greatly improved image drawing performance, + more ScreenBuffer* optimizations
v1.6.7
------
Greatly improved the ScreenBufferHD performance
v1.6.6
------
Adding missing escape sequence to set/reset the scrolling region, new (private?) method ScreenBuffer*#vScrollBuffer(),
image-viewer sample code improved, ScreenBuffer#fill() improved and fixed
v1.6.5
------
.singleColumnMenu() and .gridMenu(): fixed a minor bug (was adding one extra line when at the bottom of the terminal)
and improved the documentation (example and screenshot)
v1.6.4
------
Documentation on .singleColumnMenu() and .gridMenu()
v1.6.3
------
.singleLineMenu() documentation updated
v1.6.2
------
Added mouse support to .singleLineMenu()
v1.6.1
------
.singleColumnMenu() and .gridMenu() now supports the mouse
v1.6.0
------
New: .gridMenu(), bugfixed .singleColumnMenu()
v1.5.4
------
.singleLineMenu() and .singleColumnMenu() now supports key bindings customization
v1.5.3
------
Removed deprecated, undocumented and duplicated area mode for .inputField()
v1.5.2
------
Bugfixed .singleColumnMenu(), and correctly wordwrap menu items
v1.5.1
------
Many .singleColumnMenu() bugfixes
v1.5.0
------
New: .singleColumnMenu()
v1.4.4
------
Another .inputField() bug fixed
v1.4.3
------
.inputField() history redraw bug fixed
v1.4.2
------
Fixed: missing .scrollUp() and .scrollDown() ANSI escape sequences are now included in the lib
v1.4.1
------
Fixed: missing term.reset*ColorRgb(), that reset anything set by term.set*ColorRgb().
Fixed: term.windowTitle() now just set the window title, not the icon name anymore.
Icon name can be set with term.iconName().
v1.4.0
------
New: term.cwd() and term.notify()
v1.3.0
------
New: term.colorRgbHex() and term.bgColorRgbHex()
v1.2.8 - v1.2.12
----------------
Markup reset string
v1.2.7
------
Markup shift/modifier support for background color
v1.2.6
------
.inputField() fixed: now hints are removed on submit
v1.2.5
------
Block special chars
v1.2.4
------
Documentation improvements
v1.2.1 - v1.2.3
---------------
Documentation on Terminal#drawImage(), ScreenBuffer*#loadImage() and fixed some escape sequences for the linux console
v1.2.0
------
* .inputField(): Added support for Ctrl-Left/Ctrl-right moving to the previous/next word
and support for Ctrl-U/Ctrl-K delete all characters before/after (issue #21)
* 'gray' and 'bgGray' are now aliases of 'brightBlack' and 'bgBrightBlack' (issue #22)
v1.1.5
------
ScreenBufferHD.loadImage() minor bug fixed. Added a shrink options.
v1.1.4
------
Documentation improvements
v1.1.3
------
New: Unleash incredible terminal gfx! Now the 32-bit ScreenBuffer supports image loading!
v1.1.2
------
Documentation improved on ScreenBuffer HD
v1.1.1
------
Documentation fixed and improved on ScreenBuffer HD
v1.1.0
------
New: ScreenBufferHD, a 32-bit (RGBA) screen buffer with composition (issue #9).
v1.0.5
------
24 bits colors are back:
A couple of month ago (around nov 2016 and feb 2017), major terminals (gnome-terminal, Konsole, iTerm, ...)
changed the behavior of the $COLORTERM environment variable (without much advertising, BTW...),
and that totally messed up terminal detection.
Instead of containing the terminal identifier, now it contains "truecolor" if the terminal supports true-color.
Failing to find a terminal named "truecolor", Terminal-kit was falling back to "xterm".
I noticed that just now. -_-'
Fixed.
v1.0.4
------
Dependency upgraded
v1.0.3
------
.grabInput() bug introduced by the fix at v1.0.2 fixed (misleading Node.js stream's flowing/pause mode behavior)
v1.0.2
------
.grabInput( false ) bug fixed: it was not switching stdin back to pause mode
v1.0.1
------
Documentation
v0.30.7
-------
Documentation fixed
v0.30.6
-------
Documentation fixed
v0.30.5
-------
.fileInput() documentation
v0.30.4
-------
Documentation improvements
v0.30.3
-------
TextBuffer documentation done
v0.30.2
-------
Documentation
v0.30.1
-------
Documentation
v0.30.0
-------
Breaking change -- ScreenBuffer.create(): wrap is disabled by default. Documentation improvements.
v0.29.0
-------
Breaking change: the long-time deprecated (since v0.16.0) 'SCREEN_RESIZE' sub-type of the 'terminal' event is dropped,
in favor of the 'resize' event.
Documentation improved.
v0.28.4
-------
Documentation improvements
v0.28.3
-------
The documentation has been totally restructured.
v0.28.2
-------
.inputField(): tokenHook() can return a string now. (part of issue #19)
v0.28.1
-------
Typo in the doc
v0.28.0
-------
Breaking change: .inputField()'s tokenHook option has changed, the arguments of the function
are now ( token , isEndOfInput , previousTokens , term , config ). See the doc. #19
v0.27.4
-------
.inputField(): Auto-Completer can return an array having a 'postfix' property (similar than 'prefix')
v0.27.3
-------
.inputField() documentation updated
v0.27.2
-------
inputField(): fixed a bug introduced in v0.27.0, autoCompleteMenu was not exiting without choosing an existing alternative
v0.27.1
-------
inputField() token hilighting API fixed, all features of issue #19 are coded, documentation not updated ATM
v0.27.0
-------
New: inputField() support token hilighting
v0.26.2
-------
Fixing TextBuffer#load()
v0.26.1
-------
Bugfix: this was not returned when shutting down
v0.26.0
-------
Breaking change: process exit refactoring
v0.25.6
-------
ProgressBar sync mode
v0.25.5
-------
A tool moved jshint from dev-dependency to dependency: fixing it now
v0.25.4
-------
Dependencies
v0.25.3
-------
Documentation fixed
v0.25.2
-------
Dependencies
v0.25.1
-------
Documentation: fixing the TOC
v0.25.0
-------
Breaking changes: engine node >= 4.5, because of node v6 'new Buffer' deprecation migration
v0.24.30
--------
Fixed bad right bitshift >> to >>>
v0.24.28 - v0.24.29
-------------------
Replace the '&' in the package description by 'and' (because of a long running bug on npmjs.org)
v0.24.27
--------
Dependencies
v0.24.26
--------
termkit.autoComplete() now accept a fourth argument: 'prefix', useful to ease issue #13
v0.24.25
--------
New: term.markupOnly()
v0.24.24
--------
Badges
v0.24.23
--------
NextGenEvents updated
v0.24.22
--------
Bugfix: ^ caret in inputField() now works
v0.24.21
--------
Dependencies
v0.24.20
--------
Codewake badge
v0.24.19
--------
Dependencies
v0.24.18
--------
Markup not performing styleReset is now fixed
v0.24.17
--------
Dependencies
v0.24.15 - v0.24.16
-------------------
Force CRLF with `term.options.crlf = true`.
Not official ATM.
v0.24.14
--------
Fix issue #12 (when the TERM env variable does not exist)
v0.24.13
--------
Dependencies
v0.24.12
--------
Dependencies
v0.24.11
--------
Dependencies
v0.24.10
--------
Dependencies
v0.24.9
-------
Yet another fix to progressBar. Using async-kit's setSafeTimeout() instead of an internal one.
v0.24.8
-------
Minor fix in progressBar (bad size when progress/eta/item is undefined)
v0.24.7
-------
Timeout issues fixed when CPU-bound/sync task kick in
v0.24.6
-------
Dependencies
v0.24.5
-------
More progressBar (minor) bugs fixed + using ES6 String#repeat()
v0.24.4
-------
ProgressBar width fixed.
v0.24.3
-------
Dependencies
v0.24.2
-------
Dependencies
v0.24.1
-------
Dependencies
v0.24.0
-------
"use strict" everywhere
v0.23.1
-------
Upgrade string-kit from v0.4.0 to v0.4.1, fixing an issue with formatter count and detection
v0.23.0
-------
Breaking change: now rely on string-kit v0.4.x (.format()), so '%[]' -like markup becomes '%[]F'
and '%/F3/f -like markup becomes '%[f3]f
v0.22.4 - v0.22.7
-----------------
String-kit dependency.
v0.22.3
-------
Documentation: spelling.
v0.22.2
-------
Better doc on the 'realTerminal' feature.
v0.22.1
-------
New: termkit.realTerminal -- like termkit.terminal but escape pipes.
v0.22.0
-------
No more relying on Node.js core events, now using NextGenEvents for everything.
v0.21.8
-------
Document: more cycle focus bugfixes
v0.21.7
-------
Document: Element#focusNextChild() and Element#focusPreviousChild() bugfix
v0.21.6
-------
Document#giveFocusTo() argument check.
v0.21.5
-------
Dependencies.
v0.21.4
-------
ScreenBuffer: optimized (delta) escape sequences for the terminal blitter are now working properly.
v0.21.3
-------
ScreenBuffer improvements.
v0.21.2
-------
Linux Console: repairing .color256(), thus repairing ScreenBuffer features.
v0.21.1
-------
Document: .focusPrevious() bugfixed.
v0.21.0
-------
Removing inline widget: .layout() and .form(), their Document counter-part should be used instead.
v0.20.32
--------
Internally replacing home-made arrayKit.fill() with ES6 Array#fill().
v0.20.31
--------
TextBuffer: 'hidden' option, .setHidden(), .getHidden(). Document TextInput Element now has the 'hidden' option for passwords.
v0.20.30
--------
TextBuffer: 'hidden' option, .setHidden(), .getHidden(). Document TextInput Element now has the 'hidden' option for passwords.
v0.20.29
--------
Document: Document#focusNext() infinite loop bugfixed, .redraw() for moving and resizing Element, Text#setContent() redraw bugfixed.
v0.20.28
--------
Documentation spelling.
v0.20.27
--------
Document: Text, Element Id and Layout bugfixes.
v0.20.26
--------
Document: .draw() and detached Element bugfix.
v0.20.25
--------
Exit minor bugfix.
v0.20.24
--------
Document: .attach()/.detach()/.destroy() bugfixes.
v0.20.23