@@ -202,6 +202,86 @@ func TestGetWindowDimensions(t *testing.T) {
202
202
B: information
203
203
` ,
204
204
},
205
+ {
206
+ name : "0.5 SidePanelWidth" ,
207
+ mutateArgs : func (args * WindowArrangementArgs ) {
208
+ args .UserConfig .Gui .SidePanelWidth = 0.5
209
+ },
210
+ expected : `
211
+ ╭status──────────────────────────────╮╭main───────────────────────────────╮
212
+ │ ││ │
213
+ ╰────────────────────────────────────╯│ │
214
+ ╭files───────────────────────────────╮│ │
215
+ │ ││ │
216
+ │ ││ │
217
+ │ ││ │
218
+ │ ││ │
219
+ │ ││ │
220
+ │ ││ │
221
+ ╰────────────────────────────────────╯│ │
222
+ ╭branches────────────────────────────╮│ │
223
+ │ ││ │
224
+ │ ││ │
225
+ │ ││ │
226
+ │ ││ │
227
+ │ ││ │
228
+ │ ││ │
229
+ ╰────────────────────────────────────╯│ │
230
+ ╭commits─────────────────────────────╮│ │
231
+ │ ││ │
232
+ │ ││ │
233
+ │ ││ │
234
+ │ ││ │
235
+ │ ││ │
236
+ ╰────────────────────────────────────╯│ │
237
+ ╭stash───────────────────────────────╮│ │
238
+ │ ││ │
239
+ ╰────────────────────────────────────╯╰───────────────────────────────────╯
240
+ <options──────────────────────────────────────────────────────>A<B────────>
241
+ A: statusSpacer1
242
+ B: information
243
+ ` ,
244
+ },
245
+ {
246
+ name : "0.8 SidePanelWidth" ,
247
+ mutateArgs : func (args * WindowArrangementArgs ) {
248
+ args .UserConfig .Gui .SidePanelWidth = 0.8
249
+ },
250
+ expected : `
251
+ ╭status────────────────────────────────────────────────────╮╭main─────────╮
252
+ │ ││ │
253
+ ╰──────────────────────────────────────────────────────────╯│ │
254
+ ╭files─────────────────────────────────────────────────────╮│ │
255
+ │ ││ │
256
+ │ ││ │
257
+ │ ││ │
258
+ │ ││ │
259
+ │ ││ │
260
+ │ ││ │
261
+ ╰──────────────────────────────────────────────────────────╯│ │
262
+ ╭branches──────────────────────────────────────────────────╮│ │
263
+ │ ││ │
264
+ │ ││ │
265
+ │ ││ │
266
+ │ ││ │
267
+ │ ││ │
268
+ │ ││ │
269
+ ╰──────────────────────────────────────────────────────────╯│ │
270
+ ╭commits───────────────────────────────────────────────────╮│ │
271
+ │ ││ │
272
+ │ ││ │
273
+ │ ││ │
274
+ │ ││ │
275
+ │ ││ │
276
+ ╰──────────────────────────────────────────────────────────╯│ │
277
+ ╭stash─────────────────────────────────────────────────────╮│ │
278
+ │ ││ │
279
+ ╰──────────────────────────────────────────────────────────╯╰─────────────╯
280
+ <options──────────────────────────────────────────────────────>A<B────────>
281
+ A: statusSpacer1
282
+ B: information
283
+ ` ,
284
+ },
205
285
{
206
286
name : "half screen mode, enlargedSideViewLocation left" ,
207
287
mutateArgs : func (args * WindowArrangementArgs ) {
0 commit comments