From 0d7023a2b67fadc9eb2805681c09b1eb7ea3f7a7 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 1 Sep 2009 16:08:57 +0100 Subject: [PATCH] Don't resize urxvt to zero-size. --- .urxvt/font | 1 + 1 file changed, 1 insertion(+) 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/; } -- 2.20.1