git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c3c2a
)
Don't resize urxvt to zero-size.
author
Iain Patterson
<me@iain.cx>
Tue, 1 Sep 2009 15:08:57 +0000
(16:08 +0100)
committer
Iain Patterson
<me@iain.cx>
Wed, 16 Sep 2009 15:39:13 +0000
(16:39 +0100)
.urxvt/font
patch
|
blob
|
history
diff --git
a/.urxvt/font
b/.urxvt/font
index
1796a45
..
a90d223
100644
(file)
--- 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/;
}