summaryrefslogtreecommitdiffstats
path: root/pkg/gui/pty.go
AgeCommit message (Collapse)Author
2023-11-22Use a PTY when calling external diff command尼诺
This is important for communicating the view size to the external command. e.g. The columns in difft's side-by-side mode are aligned correctly.
2023-03-21Make sure scrollbars have the right size initiallyStefan Haller
We refresh the view after reading just enough to fill it, so that we see the initial content as quickly as possible, but then we continue reading enough lines so that we can tell how long the scrollbar needs to be, and then we refresh again. This can result in slight flicker of the scrollbar when it is first drawn with a bigger size and then jumps to a smaller size; however, that's a good tradeoff for a solution that provides both good speed and accuracy.
2022-08-06use ptmx map so that we can have multiple ptmx's stored for resizingJesse Duffield
2022-08-06refactor to only have one context per viewJesse Duffield
2022-03-17start moving commit panel handlers into controllerJesse Duffield
more and more move rebase commit refreshing into existing abstraction and more and more WIP and more handling clicks properly fix merge conflicts update cheatsheet lots more preparation to start moving things into controllers WIP better typing expand on remotes controller moving more code into controllers
2022-01-09shorten nameJesse Duffield
2022-01-09start breaking up git structJesse Duffield
2021-11-22fix delta againv0.31.4Jesse Duffield
2021-11-05render commit graphJesse Duffield
2021-10-17stop resetting scroll all the timeJesse Duffield
2021-09-16Format code to pass lintblack_desk
2021-04-06more refactoringJesse Duffield
2021-04-06testJesse Duffield
type safe view access
2020-10-02allow submodule init and show submodule diff with a prefixJesse Duffield
2020-03-25pkg: use upstream pty packageDawid Dziurla
2020-03-04refactorJesse Duffield
2020-03-04supporing custom pagers step 1Jesse Duffield