diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-04 00:27:40 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-04 00:27:40 +0000 |
commit | d6bb19572e3a5557f1e125b68ec1676cced1448a (patch) | |
tree | 7e867c25344cf5e2398d02cdde11e0b86bfda600 /src/theme.py | |
parent | 3ea295f8c78d74c7ce94db3271f0ce3464e4e0cb (diff) | |
download | poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.tar.gz poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.tar.bz2 poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.tar.xz poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.zip |
contact information buffer in the roster tab (yet empty)
Diffstat (limited to 'src/theme.py')
-rw-r--r-- | src/theme.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/theme.py b/src/theme.py index 7285ceb0..f4c5af48 100644 --- a/src/theme.py +++ b/src/theme.py @@ -157,11 +157,19 @@ if __name__ == '__main__': s = curses.initscr() curses.start_color() curses.use_default_colors() - for i in range(80): + init_colors() + for i in range(64): + s.attron(curses.color_pair(i) | curses.A_BOLD) + s.addstr(str(curses.color_pair(i) | curses.A_BOLD)) + s.attroff(curses.color_pair(i) | curses.A_BOLD) + s.addstr(' ') + s.addstr('\n') + for i in range(64): s.attron(curses.color_pair(i)) s.addstr(str(i)) s.attroff(curses.color_pair(i)) s.addstr(' ') + s.refresh() s.getch() s.endwin() |