Wireshark-commits: [Wireshark-commits] master 4362787: Reset the terminal color if we're ^C'ed when

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 04 Apr 2019 18:53:38 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=436278747e736fd0158cb22ca1eff3f1c0055134
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

4362787 by Guy Harris (guy@xxxxxxxxxxxx):

    Reset the terminal color if we're ^C'ed when reading a capture.
    
    Catch signals/ctrl events when we're reading a capture, and stop reading
    if we get one of those.  When we close a print stream, restore the color
    as appropriate.
    
    Change-Id: I3dd936964560fb3902befe0fd2e961f80437ca72
    Ping-Bug: 15659
    Reviewed-on: https://code.wireshark.org/review/32716
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  7edadf9   asn2wrs: Improve filtername of named bits.
     add  4362787   Reset the terminal color if we're ^C'ed when reading a capture.


Summary of changes:
 epan/print_stream.c |  26 +++++-
 tshark.c            | 255 ++++++++++++++++++++++++++++++++++++++++------------
 2 files changed, 220 insertions(+), 61 deletions(-)