diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-10-01 01:33:00 +0200 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2015-10-07 22:33:38 +0200 |
commit | 17c23b253eb96227d036768ebbf101930aadec73 (patch) | |
tree | 61e0d2edb87a685d0a19e1088d9f17f7f9aa8390 | |
parent | 9201006aa1b06ccf8de4cf41f42456f7f87693ed (diff) | |
download | vte-17c23b253eb96227d036768ebbf101930aadec73.tar.gz |
a11y: Emit missing space character insertion
When backspacing over space, content comparison would not find any
difference, so vte always emits a space character deletion by hand,
so that screen readers speak it, see bug 150858. That however makes
the announced text incoherent, thus confusing brltty.
This commit adds emitting a space character insertion, to get back to
coherent content.
https://bugzilla.gnome.org/show_bug.cgi?id=150858
https://bugzilla.gnome.org/show_bug.cgi?id=754964
-rw-r--r-- | src/vteaccess.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vteaccess.cc b/src/vteaccess.cc index e33b3fdd..c5c64141 100644 --- a/src/vteaccess.cc +++ b/src/vteaccess.cc @@ -441,6 +441,8 @@ vte_terminal_accessible_text_modified(VteTerminal *terminal, gpointer data) old, caret_offset, 1); priv->snapshot_text = saved_text; priv->snapshot_characters = saved_characters; + emit_text_changed_insert(G_OBJECT(accessible), + old, caret_offset, 1); } |