py2 curses utf8 display support

This commit is contained in:
ivan 2022-06-12 16:20:59 +03:00
parent eddfedb6c3
commit 7d7e2ff775
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ def main():
long_description='SSH connection and aliases manager with curses and command line interface', long_description='SSH connection and aliases manager with curses and command line interface',
long_description_content_type='text/x-rst', long_description_content_type='text/x-rst',
license='DWTWL 2.55', license='DWTWL 2.55',
version='1.09.1', version='1.09.2',
py_modules=['sshch'], py_modules=['sshch'],
scripts=['sshch/sshch'], scripts=['sshch/sshch'],
keywords='sshch ssh aliases curses manager', keywords='sshch ssh aliases curses manager',

View File

@ -7,6 +7,8 @@ try:
import configparser import configparser
except ImportError: except ImportError:
import ConfigParser as configparser # Python 2.x import import ConfigParser as configparser # Python 2.x import
import locale
locale.setlocale(locale.LC_ALL, '')
from os import path from os import path
from sys import argv from sys import argv
from math import ceil from math import ceil
@ -20,7 +22,7 @@ from curses import textpad, panel
from threading import Thread from threading import Thread
# https://gitlab.com/zlax/sshch # https://gitlab.com/zlax/sshch
version = "1.09.1" version = "1.09.2"
# expand groups by default # expand groups by default
expand_default = True expand_default = True
# path to conf dir and file, default: ~/.config/sshch.conf # path to conf dir and file, default: ~/.config/sshch.conf