X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=term2gui.pl;h=274ad2cc7d37fc98194344d447d08bfaeca52371;hb=b0086513fce699422e101d079820316b1a7a438d;hp=6da84f48ec87297c8865cd886c07504c257af635;hpb=89ece2527c215986891e661debb064d7dd248005;p=config%2Fdotfiles.git diff --git a/term2gui.pl b/term2gui.pl index 6da84f4..274ad2c 100755 --- a/term2gui.pl +++ b/term2gui.pl @@ -3,7 +3,7 @@ # Convert a terminal color scheme for 256 color terminals to a GUI color # scheme by adding the appropriate gui* options. -# Copyright (C) 2012 Simon Ruderich +# Copyright (C) 2012-2014 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -281,7 +281,7 @@ sub xterm2rgb { } -while (<>)) { +while () { # Only handle lines with highlight commands. if (/^\s*\bhi(?:ghlight)?\b/) { foreach my $setting (m/\bcterm(?:fg|bg)?=\S+/g) {