zach-a51d84

zach-a51d84Closedinto main

1 commit · 4 files · ~4 modified

Description

Frameless window by default

Removes the white title bar: a new window.decorations setting picks the window frame on macOS.

  • none (default): no title bar or border. Cmd+drag moves the window (winit drag_window).
  • buttonless / transparent: see-through title bar with full-size content (without / with the traffic lights). The grid starts 28pt down so its top row isn't under the drag area.
  • full: the standard title bar.
  • The window theme follows the background brightness, so visible chrome is dark on dark themes.
  • Renderer gained a top_inset next to the uniform padding.

🤖 Generated with Claude Code

Commits1

README.mdmodifiedView file

@@ -53,6 +53,7 @@
5353 | Cmd or Shift + PageUp / PageDown | Scroll back / forward a page |
5454 | Cmd or Shift + Home / End | Top / bottom of scrollback |
5555 | Option+key | Sent as Meta (Esc+key); see `option_as_alt` |
56+| Cmd+drag | Move the window (needed when it has no title bar) |
5657
5758 The line-editing keys work like iTerm's "Natural Text Editing" preset: they send
5859 the shell's (readline/zsh) bindings Ctrl-A, Ctrl-E, Ctrl-U, Ctrl-W, Ctrl-K, Esc-b,
@@ -81,6 +82,7 @@
8182 rows = 30
8283 padding = 6.0 # points
8384 option_as_alt = "both" # "both", "left", "right" or "none" (Option types special characters)
85+decorations = "none" # "none", "buttonless", "transparent" or "full" (see below)
8486
8587 [colors]
8688 foreground = "#d4d4d4"
@@ -104,6 +106,15 @@
104106 copy_on_select = false
105107 ```
106108
109+`decorations` picks the window frame on macOS:
110+
111+- `none`: no title bar or border at all; Cmd+drag to move the window, drag its
112+ edges to resize
113+- `buttonless`: an invisible title bar you can drag by, rounded corners, no
114+ traffic-light buttons
115+- `transparent`: like `buttonless`, with the traffic-light buttons
116+- `full`: the standard title bar (dark when the background is dark)
117+
107118 ## Finding your way around
108119
109120 | File | What's in it |