logo       

CVS: BitTorrent btdownloadcurses.py,1.9,1.10 btlaunchmanycurses.py,1.5,1.6: msg#00219

network.bit-torrent.general

Subject: CVS: BitTorrent btdownloadcurses.py,1.9,1.10 btlaunchmanycurses.py,1.5,1.6

Update of /cvsroot/bittorrent/BitTorrent
In directory sc8-pr-cvs1:/tmp/cvs-serv21146

Modified Files:
btdownloadcurses.py btlaunchmanycurses.py
Log Message:

Use ord() for reaability, and because decimal != hexadecimal



Index: btdownloadcurses.py
===================================================================
RCS file: /cvsroot/bittorrent/BitTorrent/btdownloadcurses.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** btdownloadcurses.py 28 Mar 2003 05:08:07 -0000 1.9
--- btdownloadcurses.py 28 Mar 2003 05:14:08 -0000 1.10
***************
*** 144,148 ****

def prepare_display():
! scrwin.border(124,124,45,45,20,20,20,20)
labelwin.addstr(0, 0, 'file:')
labelwin.addstr(1, 0, 'size:')
--- 144,148 ----

def prepare_display():
! scrwin.border(ord('|'),ord('|'),ord('-'),ord('-'),ord(' '),ord(' '),ord('
'),ord(' '))
labelwin.addstr(0, 0, 'file:')
labelwin.addstr(1, 0, 'size:')

Index: btlaunchmanycurses.py
===================================================================
RCS file: /cvsroot/bittorrent/BitTorrent/btlaunchmanycurses.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** btlaunchmanycurses.py 28 Mar 2003 05:08:07 -0000 1.5
--- btlaunchmanycurses.py 28 Mar 2003 05:14:08 -0000 1.6
***************
*** 252,256 ****
def prepare_display():
global mainwinw, scrwin, headerwin, totalwin
! scrwin.border(124,124,45,45,20,20,20,20)
headerwin.addnstr(0, 0, 'Filename', mainwinw - 25, curses.A_BOLD)
headerwin.addnstr(0, mainwinw - 24, 'Size', 4);
--- 252,256 ----
def prepare_display():
global mainwinw, scrwin, headerwin, totalwin
! scrwin.border(ord('|'),ord('|'),ord('-'),ord('-'),ord(' '),ord(' '),ord('
'),ord(' '))
headerwin.addnstr(0, 0, 'Filename', mainwinw - 25, curses.A_BOLD)
headerwin.addnstr(0, mainwinw - 24, 'Size', 4);



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
BitTorrent-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise