8 bit patch added to watch
This commit is contained in:
parent
3f42de1432
commit
7790520f07
1
NEWS
1
NEWS
@ -5,6 +5,7 @@ procps-3.3.0 --> procps-ng-3.3.1
|
|||||||
* Fixed pgrep crashing
|
* Fixed pgrep crashing
|
||||||
* vmstat -p <part> finds partitions. Was Debian patch vmstat_part_format
|
* vmstat -p <part> finds partitions. Was Debian patch vmstat_part_format
|
||||||
fixes closed bugs RH#485243 and Debian#588677
|
fixes closed bugs RH#485243 and Debian#588677
|
||||||
|
* watch 8-bit clean, Was Debian patch watch_8bitchar
|
||||||
|
|
||||||
procps-3.2.8 --> procps-ng-3.3.0
|
procps-3.2.8 --> procps-ng-3.3.0
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
2
watch.c
2
watch.c
@ -296,7 +296,7 @@ main(int argc, char *argv[])
|
|||||||
move(y, x);
|
move(y, x);
|
||||||
if (option_differences) {
|
if (option_differences) {
|
||||||
chtype oldch = inch();
|
chtype oldch = inch();
|
||||||
char oldc = oldch & A_CHARTEXT;
|
unsigned char oldc = oldch & A_CHARTEXT;
|
||||||
attr = !first_screen
|
attr = !first_screen
|
||||||
&& ((char)c != oldc
|
&& ((char)c != oldc
|
||||||
||
|
||
|
||||||
|
Loading…
Reference in New Issue
Block a user