SwiftTerm icon indicating copy to clipboard operation
SwiftTerm copied to clipboard

This change only queues the exposed region to be repainted on UIKit.

Open migueldeicaza opened this issue 2 years ago • 1 comments

This works, but it exposes a problem: scrolling of text (ls -l on a large directory) will redraw the text on top of the old text - this is caused by the clear background that I allow using. So I need to account for that.

This sadly also brings back the ugly bar at the bottom, because the UIScrollView allows for over-scroll, and I do not seem to have a way of painting there. The solutions on StackOverflow include "Append a view underneat with the color that you want" which is some ugly stuff. Will investigate later.

migueldeicaza avatar Apr 18 '23 03:04 migueldeicaza

I fixed the repaint issues on main, so this patch can likely go in soon.

migueldeicaza avatar May 22 '23 15:05 migueldeicaza