git.iko.soy
/
crush
readme
files
commits
refs
on
a092ca3
help
sign in
a092ca3
Merge branch 'main' into diff-overhaul
Andrey Nering
1 year ago
8adc4c0
Merge pull request #20 from charmbracelet/crush
Raphael Amorim
1 year ago
7ee3597
test(diffview): allow tests to run in parallel
Andrey Nering
1 year ago
3ece67a
refactor(diffview): make code a little bit shorter
Andrey Nering
1 year ago
c681805
test(diffview): update golden files for syntax highlighting
Andrey Nering
1 year ago
80ad5a3
feat(diffview): add syntax highlighting
Andrey Nering
1 year ago
baa94c1
fix(diffview): fix debug tasks after some test changes
Andrey Nering
1 year ago
cd52b53
refactor(diffview): reduce number of golden files
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
594dfd7
test(diffview): record golden files for yoffset test
Andrey Nering
1 year ago
45ddc66
feat(diffview): add support for setting vertical offset
Andrey Nering
1 year ago
3c80193
test(diffview): record golden files for xoffset test
Andrey Nering
1 year ago
789a6b3
feat(diffview): implement ability to set horizontal offset
Andrey Nering
1 year ago
f047b18
chore(diffview): add missing doc comments
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
8104d91
test(diffview): add golden files for height testing
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
a5a1ba2
test(diffview): add golden files for width testing
Andrey Nering
1 year ago
6d22a5b
test(diffview): update golden files to remove final line breaks
Andrey Nering
1 year ago
0da19d8
fix(diffview): add fixes + more extensive testing for width handling
Andrey Nering
1 year ago
371662c
test(diffview): fix file name in test
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
38b91cc
chore(deps): add `github.com/charmbracelet/x/exp/slice`
Andrey Nering
1 year ago
b759c37
chore: add taskfile to easily run tests
Andrey Nering
1 year ago
a947f59
refactor(diffview): refactor tests to be table driven
Andrey Nering
1 year ago
67fe93e
refactor(diffview): ask hunk by parameter instead of accessing by index
Andrey Nering
1 year ago
062c9a4
chore(diffview): update `go-udiff`
Andrey Nering
1 year ago
b7219b8
fix(diffview): fix diffview width when code is too narrow
Andrey Nering
1 year ago
357d727
test(diffview): add test for custom context lines
Andrey Nering
1 year ago
07d4221
feat(diffview): show hunk lines and test for multiple hunks
Andrey Nering
1 year ago
c8e653e
fix(diffview): fix left pad for ansi stuff
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
7de40d9
chore: having some fun with the `go-udiff` package
Andrey Nering
1 year ago
bc790a9
chore: bump bubbletea to latest v2-viewable commit
Ayman Bagabas
1 year ago
3b840ad
chore: initial logs changes
Kujtim Hoxha
1 year ago
f44035e
feat: add attachments to messages
Kujtim Hoxha
1 year ago
older commits
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