447 Commits

Author SHA1 Message Date
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
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
Jesse Duffield
499f40c329 updates for integration tests 2022-09-15 07:52:56 -07:00
Ryooooooga
d9f413aca4
keep clipboard at eol 2022-08-26 18:41:51 +09:00
Ryooooooga
f306230ede
fix BackSpaceWord at start of line 2022-08-26 18:41:51 +09:00
Ryooooooga
3ffecb9c31
implement C-k 2022-08-26 18:41:51 +09:00
Ryooooooga
619315bf75
implement clipboard and yank 2022-08-26 18:41:51 +09:00
Ryooooooga
bbb334b722
Add BackSpaceWord tests 2022-08-26 18:41:50 +09:00
Ryooooooga
1ffdcd846b
Add Ctrl+W keybind to delete word like shell 2022-08-26 18:41:50 +09:00
Jesse Duffield
156fda5e04 export simple editor 2022-08-15 19:57:08 +10:00
Jesse Duffield
3a3ab26faa support new integration test pattern 2022-08-13 20:10:52 +10:00
Jesse Duffield
dfd3eb22e1 only support one view per context 2022-08-06 13:20:55 +10:00
Jesse Duffield
1f853fadb3
Merge pull request #20 from Ryooooooga/fix-subtitle-collision
fix subtitle collision
2022-07-23 15:03:30 +10:00
Ryooooooga
0cd3257281
fix: fix subtitle collision 2022-07-22 20:14:35 +09:00
Jesse Duffield
bce22fd599 hide views with x bounds in the wrong order 2022-04-17 10:29:12 +10:00
Jesse Duffield
5b19e175bc missed another spot 2022-04-16 15:39:10 +10:00
Jesse Duffield
bf2ef335f9 missed a spot 2022-04-16 15:37:52 +10:00
Jesse Duffield
46492ecf92 refactor 2022-04-16 15:34:58 +10:00
Jesse Duffield
ae531166c8 add scrollbar 2022-04-16 15:26:59 +10:00
Jesse Duffield
2eb424ce3d honour last character 2022-04-15 10:55:42 +10:00
Jesse Duffield
a826601ada better highlighting logic 2022-04-15 10:02:11 +10:00
Jesse Duffield
0c947ca079
Merge pull request #18 from Ryooooooga/feature/fix-wide-and-erase-in-line 2022-04-08 07:37:58 +10:00