fix fallthrough bug
This commit is contained in:
parent
aa568da12f
commit
7c6d8ac0e3
4
Makefile
4
Makefile
|
@ -26,6 +26,10 @@ ifeq (${CXX}, g++)
|
|||
CXXFLAGS += -Wno-missing-field-initializers
|
||||
endif
|
||||
|
||||
ifeq (${CXX}, clang++)
|
||||
CXXFLAGS += -Wimplicit-fallthrough
|
||||
endif
|
||||
|
||||
LDFLAGS := -s -Wl,--as-needed ${LDFLAGS}
|
||||
LDLIBS := ${shell pkg-config --libs ${GTK} ${VTE}}
|
||||
|
||||
|
|
|
@ -695,6 +695,7 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
|
|||
gtk_widget_show(info->panel.da);
|
||||
overlay_show(&info->panel, overlay_mode::urlselect, false);
|
||||
exit_command_mode(vte, &info->select);
|
||||
return TRUE;
|
||||
case GDK_KEY_c:
|
||||
vte_terminal_copy_clipboard(vte);
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue