467 Commits

Author SHA1 Message Date
Jesse Duffield
ea5c8b64cf Handle views of negative height
This fixes an issue where collapsed views did not update the origin
upon focus. Not a perfect fix because it still goes to the top of the list
but good enough to make a new release
2023-07-19 20:37:19 +10:00
Jesse Duffield
9bbfd87371 Refactor 2023-07-10 10:44:07 +10:00
Jesse Duffield
44d9f78b4b better handling of tasks 2023-07-09 20:54:00 +10:00
Jesse Duffield
f7e1c7c168 Add tracking of busy/idle state 2023-07-08 22:24:37 +10:00
Jesse Duffield
d6c452fc12 Add method 2023-07-02 15:45:02 +10:00
Jesse Duffield
cb89273fdd
Merge pull request #35 from jesseduffield/contains-colored-text
Add ContainsColoredText method to View
2023-06-01 22:18:45 +10:00
Jesse Duffield
79ec199b8c Add ContainsColoredText method to View
Used for integration tests that need to assert on coloured text
2023-06-01 22:18:15 +10:00
Jesse Duffield
36f2e87458
Merge pull request #34 from jesseduffield/remove-old-recording-stuff 2023-03-24 18:39:41 +11:00
Jesse Duffield
1755e1461d remove old recording stuff 2023-03-24 18:38:11 +11:00
Jesse Duffield
e793609bfb
Merge pull request #33 from jesseduffield/more-muteses 2023-03-19 15:33:40 +11:00
Jesse Duffield
0a0558d896 use mutexes to avoid race condition 2023-03-19 15:31:51 +11:00
Jesse Duffield
8d2162479b
Merge pull request #32 from Ryooooooga/fix-escape-code 2023-03-14 19:14:53 +11:00
Ryooooooga
96d70b7dce
test(escape): add tests for escape codes 2023-03-12 21:26:50 +09:00
Ryooooooga
19c69f127d
chore(escape): add comments for escape codes 2023-03-12 21:26:50 +09:00
Ryooooooga
6384bbb52d
fix(escape): improve escape codes handling 2023-03-11 22:48:55 +09:00
Ryooooooga
37c5a8c463
style: $ go fmt 2023-03-11 22:27:41 +09:00
Jesse Duffield
cd05644a8f
Merge pull request #31 from Ryooooooga/fix-data-race 2023-03-11 20:13:20 +11:00
Jesse Duffield
38a4deaa7f use mutex when getting selected line 2023-02-25 11:14:50 +11:00
Jesse Duffield
06a1f1e95d add snapshot function for testing 2023-02-19 14:48:34 +11:00
Jesse Duffield
7a98151b05 adjust cursor when scrolling to keep current line selected.
This means the cursor can now take on a negative value, so we'll need to keep an eye out for bugs that arise from that
2023-02-18 10:26:59 +11:00
Jesse Duffield
d870d1e1c6 do not set cursor on mouse scroll 2023-02-18 10:26:27 +11:00
Ryooooooga
9bfaed0c35
fix: prevent data race 2023-02-08 09:09:22 +09:00
Jesse Duffield
457c516aa3
Merge pull request #30 from Ryooooooga/search-multibyte-chars 2023-02-05 10:28:25 +11:00
Ryooooooga
c7131d3f28
fix: fix search with multibyte characters 2023-02-04 14:15:01 +09:00
Jesse Duffield
a0bbbd86ba
Merge pull request #27 from yk-kd/add-double-border 2023-01-29 14:06:21 +11:00
Jesse Duffield
49803ff5b5
Merge pull request #29 from Ryooooooga/fix-subtitle-position
fix subtitle position
2023-01-29 11:39:45 +11:00
Ryooooooga
9cdf1743ce
fix: fix subtitle position 2023-01-26 21:56:58 +09:00
yk-kd
fcbedd46c6 changes to support new borders 2023-01-06 10:40:13 +09:00
Jesse Duffield
214a0df08d
Merge pull request #26 from Ryooooooga/fix-goroutine-leak
resolve https://github.com/jesseduffield/lazygit/issues/1502
2023-01-06 09:45:02 +11:00
Ryooooooga
c0956a0eec
feat: change StartTicking to receive ctx 2023-01-03 23:09:47 +09:00
Jesse Duffield
eeb9b3fb24
Merge pull request #25 from Ryooooooga/fix-goroutine-leak
fix goroutine leak
2022-12-04 10:32:51 +11:00
Ryooooooga
179315ce35
fix: fix goroutine leak 2022-12-02 20:35:27 +09:00
Jesse Duffield
154bebde5b
Merge pull request #24 from Ryooooooga/ignore-osc
Ignore OSC sequence
2022-11-12 19:15:29 +11:00
Ryooooooga
1b53db93f4
feat(escape.go): just ignore OSC 2022-11-10 22:41:41 +09:00
Jesse Duffield
ef06450f4f prevent infinite loop when x-origin of view is positive and there are no cells to print on the screen for a given row 2022-10-23 11:59:36 -07:00
Jesse Duffield
16c24668f7
Merge pull request #23 from Ryooooooga/disable-keybind 2022-10-15 21:16:36 -07:00
Ryooooooga
16bd199adb
chore: add comment for nil keybindings 2022-10-16 09:01:09 +09:00
Ryooooooga
daeb1d2f0d
feat: allow nil in keybindings 2022-10-15 22:13:27 +09:00
Jesse Duffield
fead10f7b3 ignore NUL bytes instead of representing with spaces.
There's no need for NUL bytes to be shown as spaces when we're trying to render

the content of a view for test purposes, and showing them as spaces prevents

us from using Equals matchers on view content in integration tests.
2022-10-03 09:26:44 -07:00
Jesse Duffield
3b1444b7ce add CopyContent function 2022-10-02 20:30:55 -07:00
Jesse Duffield
72c39318a8
Merge pull request #19 from Ryooooooga/feature/move-word 2022-10-01 08:44:29 -07:00
Ryooooooga
a8212b9aea
implement navigate by word using alt+left/right in editor 2022-10-01 19:55:28 +09:00
Jesse Duffield
03ceb167b5
Merge pull request #22 from Ryooooooga/escape 2022-09-30 23:05:10 -07:00
Jesse Duffield
c90b0fa532
Merge pull request #17 from Ryooooooga/feature/fix-edit-wide 2022-09-30 19:46:47 -07:00
Jesse Duffield
55342575b2
Merge pull request #21 from Ryooooooga/feature/hard-tab 2022-09-30 19:42:22 -07:00
Ryooooooga
e659668de4
support ANSI invert escape sequence 2022-09-30 13:14:45 +09:00
Ryooooooga
652383224c
fix an issue where long inputs containing multibyte characters cause blank spaces on the right side 2022-09-23 19:56:08 +09:00
Ryooooooga
7498087915
fix: improve hard tab rendering 2022-09-23 19:56:00 +09:00
Jesse Duffield
744b0c465c
Merge pull request #16 from Ryooooooga/feature/backward-delete-word 2022-09-21 20:24:54 -07:00
Jesse Duffield
22d48fda22 smaller 2022-09-15 20:49:37 -07:00