Skip to content

Preview size option (+ fix) - #763

Open
Levizor wants to merge 2 commits into
stevearc:masterfrom
Levizor:master
Open

Preview size option (+ fix)#763
Levizor wants to merge 2 commits into
stevearc:masterfrom
Levizor:master

Conversation

@Levizor

@Levizor Levizor commented Jun 26, 2026

Copy link
Copy Markdown

I wanted to be able to configure the split for preview, as it is 1:1 by default and seemingly not easy to change.

  • Adds preview_size option to preview_win.
  • Also found a bug in split_window function used for floating window, which wasn't affecting anything because the split is 1:1 only.

Levizor added 2 commits June 26, 2026 13:16
Wrong positions were used for new window (preview window) in
split_window() function. Seemingly, this didn't introduce any issues,
because the split ratio was always 1:1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant