Skip to content

Commit 75725e9

Browse files
Kabuki94claude
andcommitted
fix(terminal): default 80x30 with frame at cols-1/rows-1
Per operator: "make sure the GLOBAL MiOS tty0/console and local MiOS terminal windows are all 80x30!!!! with GLOBAL framing -1 width and height for fitting piping/framin withing the borderless and scrollbar-less MiOS themed terminal window". Reverts the [terminal].rows from 40 to 30 (the canonical TTY0 / IBM text-mode-3+ size, also the existing feedback_mios_terminal_dimensions memory's target -- the 40 in the prior commit was a regression). Adds [terminal].frame_width / frame_height = cols-1 / rows-1. The PS profile body's Show-MiosDashboard reads frame_width into its \$WIDTH so the box-drawing fits inside borderless + scrollbar-less WT focus-mode windows without colliding with the line-wrap boundary on pseudo-consoles that lie about their width. mios-config.html: terminal section default placeholders bumped to 30/79/29; new frame_width / frame_height inputs with int coercion. Operator-considered alternative: 80x20 for a tighter "application/ portal" feel. Switching is a 4-key edit in the configurator (cols, rows, frame_width, frame_height) -- the MiOS terminal everywhere re-skins on next launch. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent c2abe58 commit 75725e9

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

usr/share/mios/configurator/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,13 +468,17 @@ <h1>MiOS configurator <span class="v" id="v-meta">schema 1.2.0 / mios 0.2.4</spa
468468
</p>
469469
<div class="grid">
470470
<fieldset>
471-
<legend>terminal</legend>
471+
<legend>terminal (80x30 = MiOS default; 80x20 = portal feel)</legend>
472472
<label for="f-term-cols">cols</label>
473473
<input type="text" id="f-term-cols" data-key="terminal.cols" data-type="int" placeholder="80">
474474
<label for="f-term-rows">rows</label>
475-
<input type="text" id="f-term-rows" data-key="terminal.rows" data-type="int" placeholder="40">
475+
<input type="text" id="f-term-rows" data-key="terminal.rows" data-type="int" placeholder="30">
476476
<label for="f-term-scroll">scrollback_rows</label>
477477
<input type="text" id="f-term-scroll" data-key="terminal.scrollback_rows" data-type="int" placeholder="9000">
478+
<label for="f-term-fw">frame_width (cols - 1, borderless fit)</label>
479+
<input type="text" id="f-term-fw" data-key="terminal.frame_width" data-type="int" placeholder="79">
480+
<label for="f-term-fh">frame_height (rows - 1)</label>
481+
<input type="text" id="f-term-fh" data-key="terminal.frame_height" data-type="int" placeholder="29">
478482
</fieldset>
479483
<fieldset>
480484
<legend>theme</legend>

usr/share/mios/mios.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,14 +1287,19 @@ disk_size_gb = 100
12871287
# ----------------------------------------------------------------------------
12881288
# [terminal] -- canonical MiOS terminal dimensions. EVERY spawned shell
12891289
# (wt.exe new-tab, conhost fallback, wsl.exe into MiOS-DEV, the
1290-
# auto-elevated bootstrap window, the native-app launcher) opens at
1291-
# exactly cols × rows so the dashboard's 80-col frame renders cleanly.
1290+
# auto-elevated bootstrap window, the native-app launcher, Linux tty0
1291+
# console via /etc/profile.d/mios-tty.sh) opens at exactly cols × rows.
1292+
# Frame dims are cols-1 / rows-1 so the dashboard's box-drawing fits
1293+
# inside the borderless + scrollbar-less MiOS terminal without the
1294+
# right border colliding with the line-wrap boundary.
12921295
# Per memory feedback_mios_terminal_dimensions.
12931296
# ----------------------------------------------------------------------------
12941297
[terminal]
12951298
cols = 80
1296-
rows = 40
1299+
rows = 30 # 30 = MiOS default; bump to 20 for a tighter portal-feel
12971300
scrollback_rows = 9000
1301+
frame_width = 79 # cols - 1 -- dashboard box width
1302+
frame_height = 29 # rows - 1 -- dashboard box max height
12981303

12991304
# ----------------------------------------------------------------------------
13001305
# [theme] -- visual styling tokens. The [colors] table above defines

0 commit comments

Comments
 (0)