소스 검색

Added title for Windows

Alois Mahdal 12 년 전
부모
커밋
71208a9a28
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      bin/watchdump.pl

+ 1
- 0
bin/watchdump.pl 파일 보기

@@ -44,6 +44,7 @@ my $file = shift @ARGV or &usage;
44 44
 
45 45
 while (1) {
46 46
     &clear;
47
+    system "title $file" if -d "c:\\windows";
47 48
     printf "[%s] watching: %s\n%s\n", &get_frame(), $file, "=" x 80
48 49
         unless $opts->{no_header};
49 50
     if (open my $fh, "<", $file) {