summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-22 01:17:37 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-22 01:17:37 -0500
commitba4a5bd13c141c0e009eeee011b8f433ccbf12cb (patch)
treec3a6c0474c07fba551b62cadeecf09a9e39df663
parent04833d6c3bd664ee73f001dd066986f9b879096d (diff)
downloadlanguage-teco-ba4a5bd13c141c0e009eeee011b8f433ccbf12cb.tar.gz
language-teco-ba4a5bd13c141c0e009eeee011b8f433ccbf12cb.zip
format errors the way actual teco does
-rw-r--r--bin/te2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/te b/bin/te
index c79222b..fc52c56 100644
--- a/bin/te
+++ b/bin/te
@@ -34,7 +34,7 @@ COMMAND: while (1) {
ReadMode 3;
local $SIG{INT} = sub { die "interrupted!" };
eval { $te->execute($command) };
- print "ERROR: $@\n" if $@;
+ print "? $@\n" if $@;
ReadMode 4;
last KEY;
}