patch 9.1.1743: Haiku: no full-screen support

Problem:  Haiku: no full-screen support
Solution: Add support for toggling full-screen using the keyboard
          (rymdbar)

Makes toggling using keyboard possible. This change does not add any
`:fullscreen` command (Which currently only macVim has).

See https://www.haiku-os.org/docs/userguide/en/keyboard-shortcuts.html
for motivation on key combination used, as well as terminology choice.
With vim being inconsistent (`:help intro` suggests <A> and <M>, while
<Alt> is used at a dozen other places) following Haiku nomenclature
seems most appropriate.

closes: #18235

Signed-off-by: rymdbar <rymdbar@x20.se>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
rymdbar
2025-09-08 15:42:25 -04:00
committed by Christian Brabandt
parent 6d68508e62
commit cd9d30486a
5 changed files with 61 additions and 7 deletions

View File

@ -1,4 +1,4 @@
*os_haiku.txt* For Vim version 9.1. Last change: 2020 May 13
*os_haiku.txt* For Vim version 9.1. Last change: 2025 Sep 08
VIM REFERENCE MANUAL by Bram Moolenaar
@ -76,6 +76,9 @@ version with GUI tries to determine if it was started from the Tracker instead
of the Terminal, and if so, uses the GUI anyway. However, the current detection
scheme is fooled if you use the command "vim - </dev/null".
Toggling between normal managed window and fullscreen mode can be done by
pressing <Alt-Enter>.
Stuff that does not work yet:
- Mouse up events are not generated when outside the window. You can notice
@ -86,7 +89,9 @@ Stuff that does not work yet:
in when the window is activated or deactivated (so it works best with focus-
follows-mouse turned on).
- The cursor does not flash.
- Switching windows using <C-Tab-Up> and <C-Tab-Down> in Twitcher does not
work. This is due to each gvim window being managed by a separate instance
completely unaware of other vim processes.
4. The $VIM directory *haiku-vimdir*