Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 03b2271

Browse filesBrowse files
committed
Add setlocale() call again. curses doesn't work correctly without it.
1 parent d3ab047 commit 03b2271
Copy full SHA for 03b2271

1 file changed

+1Lines changed: 1 addition & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bpython/cli.py‎

Copy file name to clipboardExpand all lines: bpython/cli.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,6 +1733,7 @@ def main_curses(scr, args, config, interactive=True, locals_=None,
17331733
def main(args=None, locals_=None, banner=None):
17341734
global stdscr
17351735

1736+
locale.setlocale(locale.LC_ALL, "")
17361737
translations.init()
17371738

17381739
config, options, exec_args = bpython.args.parse(args)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.