Commit graph

54 commits

Author SHA1 Message Date
Daisuke Maki 46331edcfd Check for far wider range of things in lint 2026-02-18 07:49:40 +09:00
lestrrat ce6dac6800
Merge pull request #670 from peco/fix-viewarround-typo
Fix typo
2026-02-17 19:30:46 +09:00
Daisuke Maki ec9ebb4f02 Fix typo 2026-02-17 19:22:00 +09:00
Daisuke Maki bb004da328 avoid possibility of selection.Remove(nil) 2026-02-17 18:51:03 +09:00
Daisuke Maki 4e0f004cb3 refactor frozen state 2026-02-17 13:28:21 +09:00
Daisuke Maki a813e7198e Refactor ZoomState 2026-02-17 13:25:21 +09:00
Daisuke Maki 4746c32231 more tests 2026-02-17 12:36:20 +09:00
Daisuke Maki 02f7140f27 properly propagate ctx 2026-02-17 10:17:26 +09:00
Daisuke Maki fdf90a2121 refactor test setup 2026-02-17 07:36:21 +09:00
lestrrat 79bc52f006
Merge pull request #635 from peco/split-messagehub
consolidate SendStatusMsg
2026-02-17 07:20:05 +09:00
Daisuke Maki ffc3e85bd0 consolidate SendStatusMsg 2026-02-17 07:17:45 +09:00
Daisuke Maki 310e11700f use require.Eventually 2026-02-17 07:10:16 +09:00
Daisuke Maki 4cd07c8dd3 Refactor paging related actions 2026-02-17 00:04:51 +09:00
Daisuke Maki 12a55491ef Change Hub structure to take typed payloads 2026-02-16 22:40:34 +09:00
Daisuke Maki d40ea73946 refactor navigation code 2026-02-16 22:32:25 +09:00
Daisuke Maki d691144f96 Create MarkComplete() method to avoid future us from deadlocking 2026-02-16 21:26:27 +09:00
Daisuke Maki d8f557e108 Merge branch 'master' into gh-398 2026-02-16 20:57:37 +09:00
Daisuke Maki 49f7153598 Add ANSI color support 2026-02-16 20:06:53 +09:00
Daisuke Maki d4ef70813f Implement zoom in/out 2026-02-16 19:49:49 +09:00
Daisuke Maki 68d17afc7c Implement freeze/unfreeze 2026-02-16 15:43:38 +09:00
Daisuke Maki 17549703ae pre-allocate buffer lines 2026-02-16 10:24:58 +09:00
Daisuke Maki a35076da6f Fix #455 2026-02-15 18:13:54 +09:00
Daisuke Maki aa1335ff70 fix #428 2026-02-15 14:07:29 +09:00
Daisuke Maki 0fb46c5d1e Fix #574 2026-02-15 07:37:26 +09:00
Daisuke Maki db63d9f380 Add linting fixes 2026-02-14 07:48:23 +09:00
Daisuke Maki e9c5582ba1 Initial pass 2026-02-13 12:35:06 +09:00
Daisuke Maki 61b5d22fb8 Move stuff around for better code organization 2016-12-14 11:00:22 +09:00
Daisuke Maki 7d9e87304a remove direct access to .current 2016-06-23 05:15:39 -04:00
Daisuke Maki 3b98bf9bde protect regexpfilter, one more filter set 2016-06-23 05:07:42 -04:00
Daisuke Maki 215572ff58 use accessors 2016-06-23 05:00:48 -04:00
Daisuke Maki 1785e73cd5 Test that -h/--help does what's intended 2016-06-18 17:40:33 +09:00
Daisuke Maki 4df1abb45b Set peco.Argv 2016-06-18 17:40:33 +09:00
Daisuke Maki 9ef1da7a71 Ah, finally realized that Input was looking at a stale version of peco.Keymap 2016-06-18 17:40:33 +09:00
Daisuke Maki 45343ab1cc Wait for key event to be delivered 2016-06-18 17:40:33 +09:00
Daisuke Maki 3e9476676e Make screen a member of Peco struct, not a global 2016-06-18 17:40:33 +09:00
Daisuke Maki 098b88c90d more fixes 2016-06-18 17:40:33 +09:00
Daisuke Maki 7a239e4592 Fix tests, and things that change with it 2016-06-18 17:40:33 +09:00
Daisuke Maki 406cfe3bd7 Trying to get rid of "everything is a Ctx" 2016-06-18 17:39:02 +09:00
Daisuke Maki 97728cbc21 run gofmt
refs #269
2015-09-29 14:21:15 +09:00
Syohei YOSHIDA 5996542fe4 Correct format specifiers 2015-09-15 13:24:05 +09:00
Daisuke Maki 03e0c99432 Implement BackToInitialFilter
fixes #252
It is by default NOT mapped to any key.
2015-07-11 16:58:01 +09:00
Daisuke Maki 20269a268d Pretty much revert the previous change
Just use StringWidth when printing the query
2015-03-17 15:39:36 +09:00
Daisuke Maki 100742b9d9 Properly kick DrawPrompt when the cursor position changes 2015-03-17 15:37:51 +09:00
Daisuke Maki e8915c03cb More refactoring for testing 2015-03-17 15:37:48 +09:00
Daisuke Maki 6fc11b7568 Add small test 2015-03-17 15:37:48 +09:00
Daisuke Maki 2f1f4cbb63 Fix a bunch of race conditions 2014-10-08 20:50:57 +09:00
sona_tar 81c34e5a2a exec gofmt 2014-09-03 05:55:09 +09:00
Daisuke Maki f90771c6cd Add tests for DeleteForwardWord 2014-09-01 20:15:35 +09:00
Daisuke Maki 2aef061145 Add tests and make deletebackwardword more consistent 2014-09-01 19:32:58 +09:00
Daisuke Maki fc6469a46d Test DeleteBackwardChar 2014-09-01 18:28:41 +09:00