Provide a mechanism for consoles to update the recorded console width and height, and use this width and height to provide the curses COLS and LINES variables. We choose not to use ANSI escape sequences to obtain the width and height, for two reasons: - iPXE's model is that all output is sent to all consoles; we could therefore end up with multiple consoles reporting conflicting widths and heights - when a serial console is in use, we probably don't want to resize the output shown on the BIOS console to match the size of the serial console, since it's likely that the serial console is in use only for debugging. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
13 | 19 |
|
14 | 20 |
|
15 | 21 |
|
|
||
138 | 144 |
|
139 | 145 |
|
140 | 146 |
|
147 |
|
|
148 |
|
|
149 |
|
|
141 | 150 |
|
142 | 151 |
|
143 | 152 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
13 |
|
|
14 |
|
|
15 | 12 |
|
16 | 13 |
|
17 | 14 |
|
|
||
72 | 69 |
|
73 | 70 |
|
74 | 71 |
|
75 |
|
|
72 |
|
|
76 | 73 |
|
77 | 74 |
|
78 | 75 |
|
|
||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
|
|
6 | 7 |
|
7 | 8 |
|
8 | 9 |
|
|
||
105 | 106 |
|
106 | 107 |
|
107 | 108 |
|
108 |
|
|
109 |
|
|
110 | 109 |
|
111 | 110 |
|
112 |
|
|
113 |
|
|
111 |
|
|
112 |
|
|
114 | 113 |
|
115 | 114 |
|
116 | 115 |
|
|
||
159 | 159 |
|
160 | 160 |
|
161 | 161 |
|
162 |
|
|
163 |
|
|
164 |
|
|
165 |
|
|
166 |
|
|
167 |
|
|
162 | 168 |
|
169 |
|
|
170 |
|
|
163 | 171 |
|
164 | 172 |
|
165 | 173 |
|
|
||
175 | 183 |
|
176 | 184 |
|
177 | 185 |
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
|
178 | 198 |
|
179 | 199 |
|
180 | 200 |
|