Show More
@@ -8,11 +8,23 b'' | |||
|
8 | 8 | # This code is based on the Mark Edgington's crecord extension. |
|
9 | 9 | # (Itself based on Bryan O'Sullivan's record extension.) |
|
10 | 10 | |
|
11 | from i18n import _ | |
|
12 | import patch as patchmod | |
|
13 | import util, encoding | |
|
11 | from __future__ import absolute_import | |
|
14 | 12 | |
|
15 | import os, re, sys, struct, signal, tempfile, locale, cStringIO | |
|
13 | import cStringIO | |
|
14 | import locale | |
|
15 | import os | |
|
16 | import re | |
|
17 | import signal | |
|
18 | import struct | |
|
19 | import sys | |
|
20 | import tempfile | |
|
21 | ||
|
22 | from .i18n import _ | |
|
23 | from . import ( | |
|
24 | encoding, | |
|
25 | patch as patchmod, | |
|
26 | util, | |
|
27 | ) | |
|
16 | 28 | |
|
17 | 29 | # This is required for ncurses to display non-ASCII characters in default user |
|
18 | 30 | # locale encoding correctly. --immerrr |
@@ -21,7 +33,8 b" locale.setlocale(locale.LC_ALL, '')" | |||
|
21 | 33 | # os.name is one of: 'posix', 'nt', 'dos', 'os2', 'mac', or 'ce' |
|
22 | 34 | if os.name == 'posix': |
|
23 | 35 | import curses |
|
24 |
import fcntl |
|
|
36 | import fcntl | |
|
37 | import termios | |
|
25 | 38 | else: |
|
26 | 39 | # I have no idea if wcurses works with crecord... |
|
27 | 40 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now