Skip to content

Commit

Permalink
Incubates #7702
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelDCurran committed Oct 26, 2017
2 parents 535c0c5 + 9335e01 commit 085e89f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/braille.py
Expand Up @@ -371,7 +371,9 @@ def update(self):
L{brailleCursorPos}, L{brailleSelectionStart} and L{brailleSelectionEnd} are similarly updated based on L{cursorPos}, L{selectionStart} and L{selectionEnd}, respectively.
@postcondition: L{brailleCells}, L{brailleCursorPos}, L{brailleSelectionStart} and L{brailleSelectionEnd} are updated and ready for rendering.
"""
mode = louis.dotsIO | louis.pass1Only
mode = louis.dotsIO
if config.conf["braille"]["outputPass1Only"]:
mode |= louis.pass1Only
if config.conf["braille"]["expandAtCursor"] and self.cursorPos is not None:
mode |= louis.compbrlAtCursor
text=unicode(self.rawText).replace('\0','')
Expand Down
1 change: 1 addition & 0 deletions source/config/configSpec.py
Expand Up @@ -65,6 +65,7 @@
readByParagraph = boolean(default=false)
wordWrap = boolean(default=true)
focusContextPresentation = option("changedContext", "fill", "scroll", default="changedContext")
outputPass1Only = boolean(default=true)
# Braille display driver settings
[[__many__]]
Expand Down

0 comments on commit 085e89f

Please sign in to comment.