Skip to content

Commit f090a4f

Browse files
authored
Update README.md
1 parent 2b95481 commit f090a4f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ To better demonstrate the usefulness of NodeToJS I have converted my bashBlitz g
9494
- width_fontpixels: Width of the loaded text font, measured in number of pixels.
9595
- height_fontpixels: Height of the loaded text font, measured in number of pixels.
9696
```
97+
9798
.draw( list_to_draw )
9899
```
99100
- list_to_draw: Array of elements to draw on the pseudo terminal with this structure:
@@ -106,6 +107,16 @@ To better demonstrate the usefulness of NodeToJS I have converted my bashBlitz g
106107
- bgcolor: Background color code to clean the pseudo terminal.
107108
```
108109

110+
.getColumns()
111+
```
112+
Get the number of columns of the real terminal.
113+
```
114+
115+
.getRows()
116+
```
117+
Get the number of rows of the real terminal.
118+
```
119+
109120
.scaleFullscreen()
110121
```
111122
It allows to scale the pseudo terminal to the size of the entire body of the web window.

0 commit comments

Comments
 (0)