shithub: orca

Download patch

ref: 3c4abe6f3a3536a73a392d17cb2d9cb3521be5ab
parent: de9a7b2e16e345b51a4b1ebed6f6138e15b268af
author: cancel <cancel@cancel.fm>
date: Mon Jan 13 08:41:25 EST 2020

Add temp hack to allow large Y in ncurses menu

--- a/term_util.c
+++ b/term_util.c
@@ -449,6 +449,7 @@
   set_menu_mark(qm->ncurses_menu, " > ");
   set_menu_fore(qm->ncurses_menu, A_BOLD);
   set_menu_grey(qm->ncurses_menu, A_DIM);
+  set_menu_format(qm->ncurses_menu, 30, 1); // temp to allow large Y
   int menu_min_h, menu_min_w;
   scale_menu(qm->ncurses_menu, &menu_min_h, &menu_min_w);
   if (!qm->has_submenu_item)
--- a/tui_main.c
+++ b/tui_main.c
@@ -1936,6 +1936,7 @@
   qmenu_add_spacer(qm);
 #ifdef FEAT_PORTMIDI
   qmenu_add_choice(qm, Main_menu_choose_portmidi_output, "MIDI Output...");
+  qmenu_add_spacer(qm);
 #endif
   qmenu_add_choice(qm, Main_menu_cosmetics, "Appearance...");
   qmenu_add_choice(qm, Main_menu_controls, "Controls...");