# 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
}
-while (<>)) {
+while (<STDIN>) {
# Only handle lines with highlight commands.
if (/^\s*\bhi(?:ghlight)?\b/) {
foreach my $setting (m/\bcterm(?:fg|bg)?=\S+/g) {