3
3
< head >
4
4
< meta charset ="utf-8 " />
5
5
< title > truwrap 1.0.1 | Documentation</ title >
6
+ < meta name ='description ' content ='Smarter terminal text wrapping (handles 24bit color) '>
6
7
< meta name ="viewport " content ="width=device-width,initial-scale=1 ">
7
8
< link href ="assets/css/ace.min.css " rel ="stylesheet ">
8
9
< link href ="assets/fonts/TypoPRO-Hack/TypoPRO-Hack.css " type ="text/css " rel ="stylesheet " />
9
10
< link href ="assets/fonts/TypoPRO-FiraSans/TypoPRO-FiraSans.css " type ="text/css " rel ="stylesheet " />
10
11
< link href ="assets/css/style.css " type ="text/css " rel ="stylesheet " />
11
- < meta name ='description ' content ='Smarter terminal text wrapping (handles 24bit color) '>
12
12
</ head >
13
13
< body class ='documentation m0 '>
14
14
< div class ="flex ">
@@ -220,7 +220,7 @@ <h3 class='left m0 panel-title' id='truwrap'>
220
220
</ h3 >
221
221
222
222
223
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L50-L218 '>
223
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L50-L218 '>
224
224
< span > src/index.js</ span >
225
225
</ a >
226
226
@@ -230,9 +230,7 @@ <h3 class='left m0 panel-title' id='truwrap'>
230
230
< p > Create a text wrapping instance.</ p >
231
231
232
232
233
-
234
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> truwrap(options: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object "> Object</ a > ) → < a href ="#api "> api</ a > </ div >
235
-
233
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> truwrap(options: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object "> Object</ a > ) → < a href ="#api "> api</ a > </ div >
236
234
237
235
238
236
@@ -385,7 +383,7 @@ <h3 class='left m0 panel-title' id='api'>
385
383
</ h3 >
386
384
387
385
388
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L100-L167 '>
386
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L100-L167 '>
389
387
< span > src/index.js</ span >
390
388
</ a >
391
389
@@ -395,9 +393,7 @@ <h3 class='left m0 panel-title' id='api'>
395
393
< p > Truwap pulic API</ p >
396
394
397
395
398
-
399
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> api</ div >
400
-
396
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> api</ div >
401
397
402
398
403
399
@@ -436,7 +432,7 @@ <h3 class='left m0 panel-title' id='api'>
436
432
< div class ='clearfix '>
437
433
438
434
439
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L107-L113 '>
435
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L107-L113 '>
440
436
< span > src/index.js</ span >
441
437
</ a >
442
438
@@ -446,9 +442,7 @@ <h3 class='left m0 panel-title' id='api'>
446
442
< p > End a block, setting blocking mode and flushing buffers if needed.</ p >
447
443
448
444
449
-
450
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> end() → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined "> undefined</ a > </ div >
451
-
445
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> end() → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined "> undefined</ a > </ div >
452
446
453
447
454
448
@@ -501,7 +495,7 @@ <h3 class='left m0 panel-title' id='api'>
501
495
< div class ='clearfix '>
502
496
503
497
504
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L119-L119 '>
498
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L119-L119 '>
505
499
< span > src/index.js</ span >
506
500
</ a >
507
501
@@ -511,9 +505,7 @@ <h3 class='left m0 panel-title' id='api'>
511
505
< p > Fetch the width in characters of the wrapping view.</ p >
512
506
513
507
514
-
515
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> getWidth() → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number "> Number</ a > </ div >
516
-
508
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> getWidth() → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number "> Number</ a > </ div >
517
509
518
510
519
511
@@ -566,7 +558,7 @@ <h3 class='left m0 panel-title' id='api'>
566
558
< div class ='clearfix '>
567
559
568
560
569
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L128-L134 '>
561
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L128-L134 '>
570
562
< span > src/index.js</ span >
571
563
</ a >
572
564
@@ -576,9 +568,7 @@ <h3 class='left m0 panel-title' id='api'>
576
568
< p > Create a multicolumn panel within this view</ p >
577
569
578
570
579
-
580
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> panel(content: panelObject, configuration: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object "> Object</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
581
-
571
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> panel(content: panelObject, configuration: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object "> Object</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
582
572
583
573
584
574
@@ -654,7 +644,7 @@ <h3 class='left m0 panel-title' id='api'>
654
644
< div class ='clearfix '>
655
645
656
646
657
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L142-L145 '>
647
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L142-L145 '>
658
648
< span > src/index.js</ span >
659
649
</ a >
660
650
@@ -664,9 +654,7 @@ <h3 class='left m0 panel-title' id='api'>
664
654
< p > Generate linebreaks within this view</ p >
665
655
666
656
667
-
668
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> break(newlines: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number "> Number</ a > ) → < a href ="#api "> api</ a > </ div >
669
-
657
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> break(newlines: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number "> Number</ a > ) → < a href ="#api "> api</ a > </ div >
670
658
671
659
672
660
@@ -734,7 +722,7 @@ <h3 class='left m0 panel-title' id='api'>
734
722
< div class ='clearfix '>
735
723
736
724
737
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L152-L155 '>
725
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L152-L155 '>
738
726
< span > src/index.js</ span >
739
727
</ a >
740
728
@@ -744,9 +732,7 @@ <h3 class='left m0 panel-title' id='api'>
744
732
< p > Similar to css' clear. Write a clearing newline to the stream.</ p >
745
733
746
734
747
-
748
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> clear() → < a href ="#api "> api</ a > </ div >
749
-
735
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> clear() → < a href ="#api "> api</ a > </ div >
750
736
751
737
752
738
@@ -799,7 +785,7 @@ <h3 class='left m0 panel-title' id='api'>
799
785
< div class ='clearfix '>
800
786
801
787
802
- < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/e1e7e80e134c842e82259025c2463d6c403a1742 /src/index.js#L163-L166 '>
788
+ < a class ='pl3 pr1 right rounded github ' href ='https://github.com/MarkGriffiths/truwrap/blob/81b9e50ca76279b96cfcc7a2f7f65ec688fd381a /src/index.js#L163-L166 '>
803
789
< span > src/index.js</ span >
804
790
</ a >
805
791
@@ -809,9 +795,7 @@ <h3 class='left m0 panel-title' id='api'>
809
795
< p > Write text via the wrapping logic</ p >
810
796
811
797
812
-
813
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> write(text: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="#api "> api</ a > </ div >
814
-
798
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> write(text: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="#api "> api</ a > </ div >
815
799
816
800
817
801
0 commit comments