Files
wget2/libwget
Darshit Shah 2406808c22 Retain a copy of download context for progress bar
When the screen is scrolled or resized, we often need to redraw the
entire progress bar. However, when some threads have completed
downloading, this can cause those progress slots to become blank since
their contexts were deleted and hence lost. To prevent this, keep a copy
of the last context in the slot, so we can access it later for printing
the progress bar.

* libwget/bar.c (_bar_slot_t): New member, last_ctx
  (wget_bar_deregister): Create a copy of the context just before we
  deregister. This ensures that we copy the latest data for printing
  (wget_bar_update): If no context is registered, then try printing the
  last context available
  (_bar_print_final): Make the method signature similar to
  wget_bar_update for consistency
2016-09-19 16:55:26 +02:00
..
2016-06-15 17:01:48 +02:00
2016-09-16 16:37:03 +02:00
2016-07-11 14:53:36 +02:00
2016-09-16 16:37:03 +02:00
2016-09-19 15:23:48 +02:00
2016-02-07 19:13:58 +01:00
2016-02-07 22:53:10 +01:00
2016-09-09 17:10:54 +02:00
2016-07-20 13:22:18 +02:00
2016-02-07 12:48:41 +01:00
2016-07-11 14:53:36 +02:00
2016-02-06 21:36:36 +01:00
2016-03-18 17:01:49 +01:00
2016-05-08 22:40:33 +02:00
2016-09-19 15:23:48 +02:00
2016-09-16 16:37:03 +02:00
2016-06-14 12:43:05 +02:00