1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2026-02-11 11:14:58 +01:00
aerc/app
inwit 741f93d991 ui: allow centering the message viewer and composer
On wide screens, it is common to have aerc running in a wide window. In
that case, the message viewer and the composer aligned to the left leave
the user looking at the side of the window for long periods of time,
which can be tiresome if the window sits on a side of the screen.
Introduce an option to allow the message viewer and the composer to be
centered on the window by setting a fixed width for them and padding
both sides with empty space.

Changelog-added: The editor and the message viewer can now be centered
 on screen using a fixed width.
Signed-off-by: inwit <inwit@sindominio.net>
Tested-by: Antonin Godard <antonin@godard.cc>
Acked-by: Robin Jarry <robin@jarry.cc>
2026-02-10 11:11:33 +01:00
..
account-wizard.go wizard: enable c-x key binding to enter command mode 2026-02-09 14:48:43 +01:00
account.go worker: add directory and filter metadata to response messages 2026-02-09 14:46:27 +01:00
aerc.go reload: fix crash when reloading via IPC 2025-09-23 14:02:37 +02:00
app.go reload: fix crash when reloading via IPC 2025-09-23 14:02:37 +02:00
authinfo.go lib: rename auth to authres 2026-02-09 14:46:27 +01:00
compose.go ui: allow centering the message viewer and composer 2026-02-10 11:11:33 +01:00
dialog.go aerc: add quake-mode terminal 2024-10-08 12:45:21 +02:00
dirlist.go messages: generalize cancellation context 2026-02-09 14:46:27 +01:00
dirtree.go account: allow globs in folders-sort 2025-05-07 17:13:23 +02:00
exline.go reload: fix crash when reloading via IPC 2025-09-23 14:02:37 +02:00
getpasswd.go reload: fix crash when reloading via IPC 2025-09-23 14:02:37 +02:00
headerlayout.go widgets: rename package to app 2023-10-10 11:37:56 +02:00
listbox.go treewide: run go modernize 2025-12-20 18:06:30 +01:00
msglist.go msglist: do not try to draw deleted messages 2026-02-09 14:46:27 +01:00
msgviewer.go ui: allow centering the message viewer and composer 2026-02-10 11:11:33 +01:00
partswitcher.go config: add contextual viewer configuration 2025-10-30 21:17:44 +01:00
pgpinfo.go lint: update golangci-lint to 1.61.0 2024-09-20 09:23:36 +02:00
providesmessage.go treewide: replace uint32 uids with opaque strings 2024-08-28 12:06:01 +02:00
quake.go aerc: add quake-mode terminal 2024-10-08 12:45:21 +02:00
scrollable.go chore: switch to using stdlib helper functions 2025-08-04 12:47:05 +02:00
selector.go treewide: run go modernize 2025-12-20 18:06:30 +01:00
spinner.go log: move package to lib 2024-02-14 23:04:38 +01:00
status.go reload: fix crash when reloading via IPC 2025-09-23 14:02:37 +02:00
terminal.go reload: fix crash when reloading via IPC 2025-09-23 14:02:37 +02:00