add settings for barrier
This commit is contained in:
@ -47,7 +47,7 @@ class command():
|
||||
doInterrupt = False
|
||||
# barrier
|
||||
sayLine = currLine
|
||||
if self.env['runtime']['settingsManager'].getSettingAsBool('focus', 'barrier'):
|
||||
if self.env['runtime']['settingsManager'].getSettingAsBool('barrier','enabled'):
|
||||
sayLine = self.env['runtime']['barrierManager'].handleLineBarrier(sayLine, self.env['screen']['newCursor']['x'])
|
||||
# output
|
||||
self.env['runtime']['outputManager'].presentText(sayLine, interrupt=doInterrupt, flush=False)
|
||||
|
@ -80,7 +80,12 @@ settingsData = {
|
||||
'focus':{
|
||||
'cursor': True,
|
||||
'highlight': False,
|
||||
'barrier': True,
|
||||
|
||||
},
|
||||
'barrier':{
|
||||
'enabled': True,
|
||||
'leftBarriers': '│,└,┌,─',
|
||||
'rightBarriers': '│,┘,┐,─',
|
||||
},
|
||||
'review':{
|
||||
'lineBreak': True,
|
||||
|
Reference in New Issue
Block a user