AmendHub

Download:

jcs

/

amend

/

amendments

/

50

browser+committer: Revert previous

It doesn't redraw highlighted text properly, so I'll need to figure
something else out

jcs made amendment 50 over 2 years ago
--- browser.c Tue Jan 18 17:33:57 2022 +++ browser.c Tue Jan 18 17:58:05 2022 @@ -167,8 +167,7 @@ browser_init(struct repo *repo) TETabWidth = settings.tabwidth; TEAutoView(true, browser->diff_te); TETabEnable(browser->diff_te); - /* don't ever give it a cursor */ - TEDeactivate(browser->diff_te); + TEActivate(browser->diff_te); /* scrollbar for diff text */ bounds.right = browser->win->portRect.right - padding; --- committer.c Tue Jan 18 17:42:49 2022 +++ committer.c Wed Jan 19 17:39:10 2022 @@ -118,8 +118,6 @@ committer_init(struct browser *browser) committer->diff_te = TEStylNew(&te_bounds, &bounds); TEAutoView(true, committer->diff_te); TETabEnable(committer->diff_te); - /* don't ever give it a cursor */ - TEDeactivate(committer->diff_te); /* scrollbar for diff */ bounds.left = bounds.right;