From: Iain Patterson Date: Tue, 1 Sep 2009 15:08:57 +0000 (+0100) Subject: Don't resize urxvt to zero-size. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=0d7023a2b67fadc9eb2805681c09b1eb7ea3f7a7;hp=35c3c2aa5aa6de197ae25495a6069f50151202ad;p=profile.git Don't resize urxvt to zero-size. --- diff --git a/.urxvt/font b/.urxvt/font index 1796a45..a90d223 100644 --- a/.urxvt/font +++ b/.urxvt/font @@ -20,6 +20,7 @@ sub on_user_command { if ($cmd =~ /:bigger/) { $adjusted++ } elsif ($cmd =~ /:smaller/) { $adjusted-- } + $adjusted = 1 if $adjusted < 1; $font =~ s/:pixelsize=$size/:pixelsize=$adjusted/; }