Commit Graph

71 Commits

Author SHA1 Message Date
haiden77
8cd67d2f13 use set_escdelay function in python3.9+ 2019-11-09 14:33:12 -08:00
Anthony Sottile
3843a01391 undo / redo 2019-11-09 13:33:30 -08:00
Anthony Sottile
faf37fab47 Merge pull request #19 from asottile/bionic
Use bionic azure pipelines image
2019-11-09 11:30:38 -08:00
Anthony Sottile
674a9b789a Use bionic azure pipelines image 2019-11-09 11:23:28 -08:00
Anthony Sottile
8b5b8bb4be Move status quick update to tick() 2019-11-06 16:40:58 -08:00
Anthony Sottile
f76577cf8c Normalize escape sequence to \x1b 2019-11-02 15:35:54 -07:00
Anthony Sottile
73fd47418d Normalize to ^[A-Z] for key presses in tests 2019-11-02 15:33:20 -07:00
Anthony Sottile
4c0013ad8f Add aactivator 2019-11-02 15:30:42 -07:00
Anthony Sottile
0038c972fb Fix paging up to negative offsets 2019-11-02 15:25:53 -07:00
Anthony Sottile
6031aed432 Merge pull request #17 from haydennyyy/fix-tmux-tests
Prevent bashrc interfering in suspend tests
2019-11-01 10:38:06 -07:00
Hayden Young
fd9aae9c27 remove 'ENV PS1=$' from test command, and force bash to run in norc mode 2019-11-01 17:36:01 +00:00
Anthony Sottile
b6246d0c2f Merge pull request #14 from haydennyyy/master
:wq command
2019-10-26 18:05:31 -07:00
Hayden Young
c3362aea18 :wq command to write then close 2019-10-27 01:01:12 +00:00
Anthony Sottile
b14d93b102 Implement cut (^K) and uncut (^U) 2019-10-26 17:03:17 -07:00
Anthony Sottile
a2fc4772cf Cancel commands by entering a blank command or ^C 2019-10-24 10:54:09 -07:00
Anthony Sottile
be13a526d4 Update screenshots and README 2019-10-23 18:53:27 -07:00
Anthony Sottile
72bc067fa5 command mode (can now be quit with :q)
Co-authored-by: Hayden Young <hayden@haydennyyy.com>
2019-10-23 18:41:27 -07:00
Anthony Sottile
07d03d8ad0 fix typo 2019-10-19 14:23:33 -07:00
Anthony Sottile
c354285d44 Fix backspace on macos 2019-10-16 15:17:11 -07:00
Anthony Sottile
ff3f12ffb4 Implement rudimentary file saving 2019-10-05 16:37:01 -07:00
Anthony Sottile
414f21df4b reorder some functions to make slightly more sense 2019-10-01 11:34:50 -07:00
Anthony Sottile
fba7d25417 Fix suspend and resize 2019-09-30 19:31:02 -07:00
Anthony Sottile
852f58c2bb Small simplifications 2019-09-30 19:19:49 -07:00
Anthony Sottile
08c3118fd8 Combine Position and File 2019-09-29 07:41:10 -07:00
Anthony Sottile
9530588c14 Undo azure pipelines _curses workaround 2019-09-28 18:04:05 -07:00
Anthony Sottile
acf71db8ca Revert "Add fix for tmux 2.1"
This reverts commit 0dace647f9.
2019-09-28 17:06:18 -07:00
Anthony Sottile
deffa9d55e Upgrade the version of tmux used in azure pipelines
Resolves #7
2019-09-28 16:58:45 -07:00
Anthony Sottile
8aaf3f9a25 Display the file number when multiple files are open 2019-09-28 16:53:51 -07:00
Anthony Sottile
74f18b0ec2 Use M-Right and M-Left to switch between files 2019-09-28 15:02:44 -07:00
Anthony Sottile
39c24da092 Implement ^Home and ^End + escape sequences
Resolves #6
2019-09-28 14:51:38 -07:00
Anthony Sottile
1d6d6a4883 Upgrade mypy 2019-09-28 06:57:29 -07:00
Anthony Sottile
acccee3760 edit multiple files 2019-09-28 06:50:20 -07:00
Anthony Sottile
d2678633db Add failing test for ^Home 2019-09-24 19:36:43 -07:00
Anthony Sottile
6b896d4fd1 Implement page up and page down 2019-09-22 06:48:26 -07:00
Anthony Sottile
a0b7eb2f9c Fix scrolling to negative offsets 2019-09-13 17:32:47 -07:00
Anthony Sottile
47e8aa0145 Move c_main state into objects 2019-09-13 17:15:21 -07:00
Anthony Sottile
a6df11a34c Receive more escape sequences, reimplement suspension
By enabling "raw" mode, `babi` will receive ^S / ^Q / ^Z / ^\.  As such we
need to reimplement the logic of ^Z
2019-09-02 19:06:58 -07:00
Anthony Sottile
8276865bb7 Merge pull request #2 from asottile/azure_pipelines
Enable testing using azure pipelines
2019-09-01 21:28:38 -07:00
Anthony Sottile
0dace647f9 Add fix for tmux 2.1 2019-09-01 21:13:27 -07:00
Anthony Sottile
3422bc9c78 Try using deadsnakes python 2019-09-01 20:07:54 -07:00
Anthony Sottile
cf05fd3e83 Enable testing using azure pipelines 2019-09-01 19:25:44 -07:00
Anthony Sottile
d9814fb658 shorten some variable names 2019-09-01 19:20:07 -07:00
Anthony Sottile
16c6526dac Use keyword-only arguments for await_cursor_position 2019-08-31 18:49:41 -07:00
Anthony Sottile
1dc77312c7 Make tests less flaky 2019-08-31 18:47:53 -07:00
Anthony Sottile
03e42d357f Merge branch 'fix_ctrl_j' 2019-08-31 18:42:58 -07:00
Anthony Sottile
5ef57dcd29 Use nonl mode to differentiate ^J and <enter> 2019-08-31 18:42:46 -07:00
Anthony Sottile
4ccde41d5b Revert "Switch tests to use ^R instead of ^J"
This reverts commit 3dd1a0333a.
2019-08-31 18:40:36 -07:00
Anthony Sottile
0ec63c3246 Update docs 2019-08-31 18:31:09 -07:00
Anthony Sottile
fb0e56e393 Implement ^A and ^E as aliases for Home and End 2019-08-31 15:46:37 -07:00
Anthony Sottile
784c18320a Implement Home and End keys 2019-08-31 15:42:23 -07:00