Don't resize urxvt to zero-size.
authorIain Patterson <me@iain.cx>
Tue, 1 Sep 2009 15:08:57 +0000 (16:08 +0100)
committerIain Patterson <me@iain.cx>
Wed, 16 Sep 2009 15:39:13 +0000 (16:39 +0100)
.urxvt/font

index 1796a45..a90d223 100644 (file)
@@ -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/;
     }