summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--src/gui.py1
-rw-r--r--src/window.py2
3 files changed, 4 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 49d22f76..4361f493 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,6 @@ BINDIR=$(prefix)/bin
DATADIR=$(prefix)/share
LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
-CP=/bin/cp
-CHMOD=/bin/chmod
all: Makefile
@@ -15,12 +13,11 @@ clean:
find ./ -name "#*#" -delete
install:
- mkdir -p $(DESTDIR)
- install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src/xmpp $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(prefix)
+ install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
- $(CP) -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
+ cp -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
rm $(DESTDIR)$(DATADIR)/poezio/data/poezio.1
- $(CHMOD) 655 -R $(DESTDIR)$(DATADIR)/poezio/data/
install -m644 data/poezio.1 $(DESTDIR)$(MANDIR)/man1/
for sourcefile in `find src/ -maxdepth 1 -type f -name \*.py` ; do \
diff --git a/src/gui.py b/src/gui.py
index aaad7544..f56828b2 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -569,7 +569,6 @@ class Gui(object):
"""
theme.init_colors()
curses.noecho()
- curses.curs_set(0)
stdscr.keypad(True)
def reset_curses(self):
diff --git a/src/window.py b/src/window.py
index a8aee668..19912ed1 100644
--- a/src/window.py
+++ b/src/window.py
@@ -877,7 +877,7 @@ class Input(Win):
with g_lock:
self.clear_text()
self.addstr(self.text[self.line_pos:self.line_pos+self.width-1])
- self.win.chgat(0, self.pos, 1, curses.A_REVERSE)
+ # self.win.chgat(0, self.pos, 1, curses.A_REVERSE)
self.win.refresh()
def refresh(self):