Commit Graph

23 Commits

Author SHA1 Message Date
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
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
d9814fb658 shorten some variable names 2019-09-01 19:20:07 -07:00
Anthony Sottile
5ef57dcd29 Use nonl mode to differentiate ^J and <enter> 2019-08-31 18:42:46 -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
Anthony Sottile
54cff11576 Implement delete 2019-08-31 15:16:10 -07:00
Anthony Sottile
6a18fb8258 Implement pressing enter 2019-08-31 14:55:21 -07:00
Anthony Sottile
86fb2c7dab Implement text insertion and backspace 2019-08-31 14:39:42 -07:00
Anthony Sottile
f179b09209 Horizontal scrolling 2019-08-31 12:49:21 -07:00
Anthony Sottile
46a0918043 Use Margin over curses.LINES more 2019-08-17 06:15:46 -07:00
Anthony Sottile
00328c2914 Simplify Position initialization 2019-08-17 06:07:09 -07:00
Anthony Sottile
9f1077ec28 babi can load text and ~mostly navigate with the arrow keys 2019-08-16 20:06:51 -07:00
Anthony Sottile
d40fa7f93b Fix edge cases with very short windows 2019-08-12 17:00:12 -07:00
Anthony Sottile
ea6503d9b4 Start displaying text 2019-08-12 15:55:40 -07:00
Anthony Sottile
5d12a08146 Add coverage for --color-test 2019-08-04 13:15:45 -07:00
Anthony Sottile
c672565dfd react to resize (not tested yet) 2019-08-03 22:47:17 -07:00
Anthony Sottile
c52702d0a6 Add a test suite and some basic navigation 2019-07-27 19:22:43 -07:00
Anthony Sottile
13a6bbc51b initial commit with color test 2019-07-12 19:51:48 -07:00