Skip to content
Browse files

Better handling of unset fonts, closes #3

  • Loading branch information...
1 parent a7017a7 commit e81c9168b620409f89ea690442395719cdd7fdbc @majutsushi committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 font-size
View
3 font-size
@@ -90,7 +90,8 @@ sub fonts_change_size
my $curres = $term->resource('font');
if (!$curres) {
- return;
+ $term->scr_add_lines("\r\nWarning: No font configured, trying a default.\r\nPlease set a font with the 'URxvt.font' resource.");
+ $curres = "fixed";
}
my @curfonts = split(/,/, $curres);

0 comments on commit e81c916

Please sign in to comment.
Something went wrong with that request. Please try again.