git.iko.soy
/
crush
readme
files
commits
refs
on
fc065de
help
sign in
history of
internal/exp/diffview/diffview.go
all commits
a9bd37f
perf(diffview): only compute syntax highlight for printed lines
Andrey Nering
1 year ago
a723e4a
feat(diffview): prevent infinite vertical scroll by default
Andrey Nering
1 year ago
e3bf5ae
chore(diffview): remove unused `SyntaxHighlight` option
Andrey Nering
1 year ago
34fa3c1
refactor(diffview): wrap default styles into functions
Andrey Nering
1 year ago
382b7f8
fix: remove broken patch tool
Kujtim Hoxha
1 year ago
3ece67a
refactor(diffview): make code a little bit shorter
Andrey Nering
1 year ago
80ad5a3
feat(diffview): add syntax highlighting
Andrey Nering
1 year ago
bac4f0a
fix(diffview): fix behavior of tabs and add tab width setting
Andrey Nering
1 year ago
c5bf830
fix(diffview): do not print ellipsis after content has being fully printed
Andrey Nering
1 year ago
9f5d70c
fix(diffview): respect line style even if it's the last one with ellipsis
Andrey Nering
1 year ago
45ddc66
feat(diffview): add support for setting vertical offset
Andrey Nering
1 year ago
789a6b3
feat(diffview): implement ability to set horizontal offset
Andrey Nering
1 year ago
94fbd9c
refactor(diffview): move `setPadding` to be inside `adjustStyles`
Andrey Nering
1 year ago
c842c7b
feat(diffview): show ellipsis if we reached the height limit
Andrey Nering
1 year ago
21ca2ae
fix(diffview): add fixes + more extensive testing for height handling
Andrey Nering
1 year ago
66cd982
fix(diffview): fix small bug when width is very small
Andrey Nering
1 year ago
0da19d8
fix(diffview): add fixes + more extensive testing for width handling
Andrey Nering
1 year ago
c608d8f
feat(diffview): implement resizer to make diff wider or shorter as asked
Andrey Nering
1 year ago
ac33d35
refactor(diffview): refactor order of functions to match call order
Andrey Nering
1 year ago
bbc3122
refactor(diffview): move padding out of `styles.go`
Andrey Nering
1 year ago
864735a
refactor(diffview): cache num digits on a struct variable
Andrey Nering
1 year ago
eb50c92
fix(diffview): improve code width and make it half space on each side
Andrey Nering
1 year ago
498210c
chore(diffview): fix lint
Andrey Nering
1 year ago
0823b31
feat(diffview): implement split / side-by-side view
Andrey Nering
1 year ago
67fe93e
refactor(diffview): ask hunk by parameter instead of accessing by index
Andrey Nering
1 year ago
b7219b8
fix(diffview): fix diffview width when code is too narrow
Andrey Nering
1 year ago
07d4221
feat(diffview): show hunk lines and test for multiple hunks
Andrey Nering
1 year ago
ab0c4ff
feat(diffview): show line numbers on the left
Andrey Nering
1 year ago
f8fc11e
refactor(diffview): convert styles into a reusable `LineStyle` type
Andrey Nering
1 year ago
b7ab1a8
feat(diffview): basic working functionality
Andrey Nering
1 year ago
1f98b24
feat(diffview): getting started with the api design
Andrey Nering
1 year ago
a7943ac
refactor: rename package `diff` to `diffview`
Andrey Nering
1 year ago
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list