repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: e503fac98eae353160e4c367106ff7a14ce251be: path_to: revision_to:
commit e503fac98eae353160e4c367106ff7a14ce251be Author: Robin RedekerDate: Tue Jan 17 17:04:18 2006 +0000 fixed a bug, the textfile is now deleted after upload. diff --git a/src/perl/selection-pastebin b/src/perl/selection-pastebin
--- a/src/perl/selection-pastebin
+++ b/src/perl/selection-pastebin
@@ -48,6 +48,8 @@ sub upload_paste {
$msg = "couldn't upload, '$cmd' failed";
}
+ unlink $tmpfile;
+
my $ov = $timers->{ov} = $self->overlay (-1, 0, length ($msg), 1, urxvt::OVERLAY_RSTYLE, 0);
$ov->set (0, 0, $msg);
-----END OF PAGE-----