Alot of UI work, resize fixed.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@253 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-04 19:50:59 +00:00
parent bd7849199c
commit e02974571a
15 changed files with 406 additions and 10 deletions
+3 -3
View File
@@ -28,8 +28,8 @@ Poll::poll() {
uint64_t t = torrent::get(torrent::TIME_SELECT);
if (t > 10000000)
t = 10000000;
if (t > 1000000)
t = 1000000;
timeval timeout = {t / 1000000, t % 1000000};
@@ -50,7 +50,7 @@ Poll::work() {
if (FD_ISSET(0, &m_readSet)) {
int key;
while ((key = getch()) >= 0)
while ((key = getch()) != ERR)
m_slotReadStdin(key);
}