Hi Uwe,
On 19.05.05, U. Bielz wrote: [...]
Wait - yes. The result is a traceback (see below). This happens only when I'm using pytone in a xterm. In a console, F10 works perfectly. But I prefer the two column mode despite the missing symmetry.
Traceback (most recent call last): File "/usr/share/pytone/pytone.py", line 265, in ? m.run() File "/usr/share/pytone/mainscreen.py", line 125, in run self.channel.process() File "/usr/share/pytone/hub.py", line 167, in process handler(item) File "/usr/share/pytone/mainscreen.py", line 326, in keypressed self.resizeterminal() File "/usr/share/pytone/mainscreen.py", line 284, in resizeterminal self.connectborders() File "/usr/share/pytone/mainscreen.py", line 256, in connectborders win.update() File "/usr/share/pytone/playlistwin.py", line 197, in update self.updatescrollbar() File "/usr/share/pytone/playlistwin.py", line 62, in updatescrollbar self.drawscrollbar(self.playlist.top, len(self.playlist)) File "/usr/share/pytone/window.py", line 243, in drawscrollbar self.vline(3, xpos, curses.ACS_CKBOARD, self.ih-4, self.colors.scrollbar) File "/usr/share/pytone/window.py", line 117, in vline self.win.vline(x, y, c, n, attr) error: wmove() returned ERR
That's most probably due to the xterm window being too small. I've added some lower limits in the code, which at least prevents the crash.
Jörg