termite: fix vte patch "expose-function-for-getting-the-selected-text" (#122467)
ZHF: #122042
This commit is contained in:
parent
711ad46bd6
commit
8e89366c2b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
+vte_terminal_get_selection(VteTerminal *terminal) noexcept
|
||||
+{
|
||||
+ g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL);
|
||||
+ return g_strdup (IMPL(terminal)->m_selection[VTE_SELECTION_PRIMARY]->str);
|
||||
+ return g_strdup (IMPL(terminal)->m_selection[vte::to_integral(vte::platform::ClipboardType::PRIMARY)]->str);
|
||||
+}
|
||||
+
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue