Skip to content

Commit 7a67523

Browse files
committed
Store setting of unicode_box
1 parent 3510efc commit 7a67523

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bpython/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ def get_key_no_doublebind(command):
288288
struct.curtsies_right_arrow_completion = config.getboolean(
289289
"curtsies", "right_arrow_completion"
290290
)
291+
struct.unicode_box = config.getboolean("general", "unicode_box")
291292

292293
color_scheme_name = config.get("general", "color_scheme")
293294

@@ -332,7 +333,7 @@ def get_key_no_doublebind(command):
332333
struct.autocomplete_mode = default_completion
333334

334335
# set box drawing characters
335-
if config.getboolean("general", "unicode_box") and supports_box_chars():
336+
if struct.unicode_box and supports_box_chars():
336337
struct.left_border = "│"
337338
struct.right_border = "│"
338339
struct.top_border = "─"

0 commit comments

Comments
 (0)