Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* cplay (1.45pre3):

	- progressbar cosmetics
	- tilde expansion (Patrice Neff)
  • Loading branch information...
commit 69080d3d31fec31d8431f5451120b9810d78b494 1 parent ad7786b
Ulf Betlehem authored holizz committed
Showing with 8 additions and 3 deletions.
  1. +5 −0 ChangeLog
  2. +3 −3 cplay
View
5 ChangeLog
@@ -1,3 +1,8 @@
+2002-01-13 Ulf Betlehem <flu@iki.fi>
+
+ * cplay (1.45pre3):
+ - progressbar cosmetics
+ - tilde expansion (Patrice Neff)
2001-12-27 Ulf Betlehem <flu@iki.fi>
* cplay (1.45pre2):
View
6 cplay
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- python -*-
-__version__ = "cplay 1.45pre2"
+__version__ = "cplay 1.45pre3"
"""
cplay - A curses front-end for various audio players
@@ -235,7 +235,7 @@ class ProgressWindow(Window):
if self.value > 0:
self.move(0, 0)
x = int(self.value * self.cols) # 0 to cols-1
- self.hline(ord('='), x+1)
+ x and self.hline(ord('='), x)
self.move(0, x)
self.insstr('|')
self.touchwin()
@@ -652,7 +652,7 @@ class FilelistWindow(ListWindow):
if reason == _("cancel") or not self.input_string:
app.status(_("cancel"), 1)
return
- dir = self.input_string
+ dir = os.path.expanduser(self.input_string)
if dir[0] != '/': dir = "%s%s" % (self.cwd, dir)
if not os.path.isdir(dir):
app.status(_("Not a directory!"), 1)
Please sign in to comment.
Something went wrong with that request. Please try again.