summaryrefslogtreecommitdiff
path: root/src/core/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-01-20 20:35:25 +0100
committermathieui <mathieui@mathieui.net>2015-01-20 20:35:25 +0100
commit1c5589bbd3f7f5a5b30fe9235a484ba040e4b159 (patch)
treedcaf7f66bababbd9e3f942353e87f68c3cfa60c5 /src/core/core.py
parenta2678b02d95fc82755018c95ed5e006dca235caf (diff)
downloadpoezio-1c5589bbd3f7f5a5b30fe9235a484ba040e4b159.tar.gz
poezio-1c5589bbd3f7f5a5b30fe9235a484ba040e4b159.tar.bz2
poezio-1c5589bbd3f7f5a5b30fe9235a484ba040e4b159.tar.xz
poezio-1c5589bbd3f7f5a5b30fe9235a484ba040e4b159.zip
Make the ncurses unicode check earlier
and improve the message.
Diffstat (limited to 'src/core/core.py')
-rw-r--r--src/core/core.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/core.py b/src/core/core.py
index 05db7e0e..807ca0cc 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -494,19 +494,6 @@ class Core(object):
Init curses, create the first tab, etc
"""
self.stdscr = curses.initscr()
- if not hasattr(self.stdscr, 'get_wch'):
- curses.echo()
- curses.endwin()
- print('ERROR: The current python executable is linked with a '
- 'ncurses version with no unicode capabilities.\nThis'
- ' means python was built on a system where readline'
- ' is linked against libncurses and not libncursesw.\n'
- 'Please file a bug for your distribution or recompile'
- ' libreadline with -ltermcapw instead of -ltermcap, '
- 'and then recompile python.\nPoezio is currently unable'
- ' to read your input or draw its interface properly, so'
- ' it will now exit.')
- self.exit()
self.init_curses(self.stdscr)
self.call_for_resize()
default_tab = tabs.RosterInfoTab()