diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2012-09-10 01:25:31 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2012-09-10 01:25:31 +0000 |
commit | eb744d9d40f02414d35437f9ef397b127027955b (patch) | |
tree | 4209cb2a75d870442934e487ebc85648da2e4d74 /bin/ksh/edit.c | |
parent | 9768434a12db19b3733b0e34f316aa790d5adaf7 (diff) |
fake a sigwinch after each job, so if the terminal changes size,
we'll notice and update
Diffstat (limited to 'bin/ksh/edit.c')
-rw-r--r-- | bin/ksh/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index 6c357a7de5c..ec72d546c18 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.34 2010/05/20 01:13:07 fgsch Exp $ */ +/* $OpenBSD: edit.c,v 1.35 2012/09/10 01:25:30 tedu Exp $ */ /* * Command line editing - common code @@ -20,7 +20,7 @@ static void x_sigwinch(int); -static volatile sig_atomic_t got_sigwinch; +volatile sig_atomic_t got_sigwinch; static void check_sigwinch(void); static int x_file_glob(int, const char *, int, char ***); |