diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-09 17:00:30 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-09 17:00:30 +0000 |
| commit | 99023cae99d97c6965de19ff38d2f0516153a37e (patch) | |
| tree | 241a7714296d46ef9f9dc5e9f420b23850224504 /doc | |
| parent | Merge branch 'keymap-shift-return' into master (diff) | |
| parent | Add -W,--window-size-chars, and foot.ini:initial-window-size-chars (diff) | |
Merge branch 'window-size-in-characters' into master
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.1.scd | 8 | ||||
| -rw-r--r-- | doc/foot.ini.5.scd | 18 |
2 files changed, 21 insertions, 5 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd index 19e1b0ee..c8fbddc7 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -45,8 +45,14 @@ the foot command line Default: _monospace_. +*-w*,*--window-size-pixels*=_WIDTHxHEIGHT_ + Set initial window width and height, in pixels. Default: _700x500_. + +*-W*,*--window-size-chars*=_WIDTHxHEIGHT_ + Set initial window width and height, in characters. Default: _not set_. + *-g*,*--geometry*=_WIDTHxHEIGHT_ - Set initial window width and height. Default: *700x500*. + Deprecated. Alias for *-w*,*--window-size-pixels*. *-t*,*--term*=_TERM_ Value to set the environment variable *TERM* to. Default: _foot_. diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 81e3f945..25a40e45 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -35,18 +35,28 @@ in this order: Default: _monospace_. -*geometry* - Initial window width and height in pixels (subject to output - scaling), on the form _WIDTHxHEIGHT_. Default: _700x500_. - *pad* Padding between border and glyphs, in pixels (subject to output scaling), on the form _XxY_. Default: _2x2_. +*initial-window-size-pixels* + Initial window width and height in _pixels_ (subject to output + scaling), on the form _WIDTHxHEIGHT_. The height _includes_ the + titlebar when using CSDs. Mutually exclusive to + *initial-window-size-chars*. Default: _700x500_. + +*initial-window-size-chars* + Initial window width and height in _characters_, on the form + _WIDTHxHEIGHT_. Mutually exclusive to + *initial-window-size-pixels*. Default: _not set_. + *initial-window-mode* Initial window mode for each newly spawned window: *windowed*, *maximized* or *fullscreen*. Default: _windowed_. +*geometry* + Deprecated. Alias for *initial-window-size-pixels*. + *shell* Executable to launch. Typically a shell. Default: _$SHELL_ if set, otherwise the user's default shell (as specified in |
