Merge branch 'master' of http://git.louiz.org/poezio
This commit is contained in:
commit
2c99e6be9f
2 changed files with 12 additions and 3 deletions
|
@ -634,7 +634,7 @@ class TextWin(Win):
|
|||
self._win.attrset(0)
|
||||
for y, line in enumerate(lines):
|
||||
if not line:
|
||||
self.write_line_separator()
|
||||
self.write_line_separator(y)
|
||||
else:
|
||||
self.write_text(y, (3 if line.msg.nickname else 1) + len(line.msg.str_time)+len(truncate_nick(line.msg.nickname) or ''), line.msg.txt[line.start_pos:line.end_pos])
|
||||
if y != self.height-1:
|
||||
|
@ -642,8 +642,8 @@ class TextWin(Win):
|
|||
self._win.attrset(0)
|
||||
self._refresh()
|
||||
|
||||
def write_line_separator(self):
|
||||
self.addnstr('- '*(self.width//2-1)+'-', self.width, to_curses_attr(get_theme().COLOR_NEW_TEXT_SEPARATOR))
|
||||
def write_line_separator(self, y):
|
||||
self.addnstr(y, 0, '- '*(self.width//2-1)+'-', self.width, to_curses_attr(get_theme().COLOR_NEW_TEXT_SEPARATOR))
|
||||
|
||||
def write_text(self, y, x, txt):
|
||||
"""
|
||||
|
|
|
@ -9,6 +9,15 @@
|
|||
echo 'Updating poezio'
|
||||
git pull origin master
|
||||
|
||||
make
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo -e "It seems that you do not have the python development"\
|
||||
"files.\nSearch for a package named python3-dev or python3-devel"\
|
||||
"in your repos."
|
||||
exit -1
|
||||
fi
|
||||
|
||||
if [ -e "SleekXMPP" ]
|
||||
then
|
||||
echo "Updating SleekXMPP"
|
||||
|
|
Loading…
Reference in a new issue