kge: : font sticks; one font per frame from the focused window
`: font NAME` was reverted on the next frame because the per-window chooser re-applied the config's code/writing font, and with two windows in different modes the font flipped every frame. Fonts per edit mode now live on the primary Editor (EditorFonts), shared with secondary windows like the buffer list. `: font` sets the font for the current buffer's mode, and the frontend picks one font per frame from the window with keyboard focus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,10 +67,12 @@ Each buffer is drawn in the font for its edit mode, so in practice
|
||||
`code` and `writing` are the fonts you see; `name` only supplies their
|
||||
defaults.
|
||||
|
||||
`"default"` is Berkeley Mono Bold (the same as `berkeley-bold`). Set
|
||||
fonts here; the size can also change while kge runs, with
|
||||
`: font-size NUM` (press `C-k ;` for the prompt) or Ctrl `+`/`-`/`0`
|
||||
(Cmd on macOS). Ctrl+0 goes back to `size`.
|
||||
`"default"` is Berkeley Mono Bold (the same as `berkeley-bold`). While
|
||||
kge runs, `: font NAME` (press `C-k ;` for the prompt) changes the font
|
||||
for the current buffer's edit mode, and `: font-size NUM` or Ctrl
|
||||
`+`/`-`/`0` (Cmd on macOS) the size; Ctrl+0 goes back to `size`. These
|
||||
last until you quit. Only one font is shown at a time, so with several
|
||||
windows open the focused window's buffer decides.
|
||||
|
||||
### `[appearance]`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user