@@ -167,14 +167,11 @@ bool Shell::setGuiFont(const QString& fdesc, bool force, bool updateOption)
167167 // unwanted recursion. Only update this option for ':GuiFont', and dialog calls.
168168 if (isGuiDialogRequest || updateOption) {
169169 m_nvim->api0 ()->vim_set_option (" guifont" , fontDesc ());
170-
171- bool ok = setShellFont (attrs.at (0 ), pointSize, weight, italic, force);
172- if (ok && m_attached) {
173- m_cmdlineWidget.setFont (font ());
174- resizeNeovim (size ());
175- m_nvim->api0 ()->vim_set_var (" GuiFont" , fontDesc ());
176170 }
177171
172+ // Update ext_cmdline font to match ShellWidget
173+ m_cmdlineWidget.setFont (font ());
174+
178175 return true ;
179176}
180177
@@ -566,12 +563,7 @@ void Shell::handleRedraw(const QByteArray& name, const QVariantList& opargs)
566563 handleGridCursorGoto (opargs);
567564 } else if (name == " grid_scroll" ) {
568565 handleGridScroll (opargs);
569- } else if (name == " hl_group_set" ) {
570566 }
571- else {
572- qDebug () << " Received unknown redraw notification" << name << opargs;
573- }
574-
575567}
576568
577569void Shell::handlePopupMenuShow (const QVariantList& opargs)
@@ -899,8 +891,6 @@ void Shell::handleExtGuiOption(const QString& name, const QVariant& value)
899891 m_nvim->api2 ()->nvim_ui_set_option (" ext_popupmenu" , value.toBool ());
900892 } else if (name == " Cmdline" ) {
901893 m_nvim->api2 ()->nvim_ui_set_option (" ext_cmdline" , value.toBool ());
902- } else {
903- qDebug () << " Unknown GUI Option" << name << value;
904894 }
905895}
906896
@@ -927,8 +917,6 @@ void Shell::handleSetOption(const QString& name, const QVariant& value)
927917 } else if (name == " termguicolors" ) {
928918 } else if (name == " ext_cmdline" ) {
929919 } else if (name == " ext_linegrid" ) {
930- } else {
931- qDebug () << " Received unknown option" << name << value;
932920 }
933921}
934922
0 commit comments