aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpixelterm/gifterm.py3
-rw-r--r--pixelterm/pixelterm.py2
-rwxr-xr-xpixelterm/resolvecolor.py2
-rw-r--r--pixelterm/unpixelterm.py2
4 files changed, 5 insertions, 4 deletions
diff --git a/pixelterm/gifterm.py b/pixelterm/gifterm.py
index 252e49c..67ee99f 100755
--- a/pixelterm/gifterm.py
+++ b/pixelterm/gifterm.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
-import os, sys, argparse, os.path, json, time, signal, atexit, pixelterm
+import os, sys, argparse, os.path, json, time, signal, atexit
+from pixelterm import pixelterm
from PIL import Image, GifImagePlugin, ImageSequence
clear_screen = '\033[H\033[2J'
diff --git a/pixelterm/pixelterm.py b/pixelterm/pixelterm.py
index 4239b98..c1a16e8 100644
--- a/pixelterm/pixelterm.py
+++ b/pixelterm/pixelterm.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-import xtermcolors
+from pixelterm import xtermcolors
reset_sequence = '\033[39;49m'
diff --git a/pixelterm/resolvecolor.py b/pixelterm/resolvecolor.py
index 83c1330..7fab111 100755
--- a/pixelterm/resolvecolor.py
+++ b/pixelterm/resolvecolor.py
@@ -2,7 +2,7 @@
def main():
import os, sys, argparse, os.path, json, re
- import xtermcolors
+ from pixelterm import xtermcolors
# Resolve HTML-style hex RGB color codes to xterm-256color color numbers
diff --git a/pixelterm/unpixelterm.py b/pixelterm/unpixelterm.py
index 8d1c120..46c0c83 100644
--- a/pixelterm/unpixelterm.py
+++ b/pixelterm/unpixelterm.py
@@ -2,7 +2,7 @@
import os, sys, os.path
from collections import defaultdict
-import xtermcolors
+from pixelterm import xtermcolors
from PIL import Image, PngImagePlugin
try:
import re2 as re