Anthony Sottile
31e7c9345b
Remove this cache, it is essentially a memory leak
2020-03-15 18:09:12 -07:00
Anthony Sottile
41543f8d6c
Use default hash for some highlighting primitives
...
- this improves performance by ~13%
- a lot of time was spent in `tuple.__hash__` for these particular types
- the types that were changed are:
- constructed once and then kept forever
- act as "singletons"
2020-03-15 15:45:34 -07:00
Anthony Sottile
1be4e80edd
Add syntax highlight for puppet
2020-03-14 15:39:10 -07:00
Anthony Sottile
4eafa3833d
v0.0.1
v0.0.1
2020-03-14 14:18:02 -07:00
Anthony Sottile
3f751088db
Merge pull request #40 from asottile/update_screenshots
...
Update screenshots
2020-03-14 14:10:47 -07:00
Anthony Sottile
7f53105e3d
Update screenshots
2020-03-14 14:04:30 -07:00
Anthony Sottile
697b012027
Syntax highlighting
2020-03-13 21:07:58 -07:00
Anthony Sottile
1d06a77d44
Highlight trailing whitespace
2020-03-13 20:49:59 -07:00
Anthony Sottile
b52fb15368
Use clrtoeol to draw blank lines
2020-03-13 19:11:59 -07:00
Anthony Sottile
59946cad9a
Improve Perf interface
2020-03-12 22:37:05 -07:00
Anthony Sottile
2066bed28e
simpler TERM setting (and don't accidentally 256color in suspend)
2020-03-09 14:28:56 -07:00
Anthony Sottile
ec7fbba633
Fix race condition with multiple escape sequences in quick succession
...
Resolves #31
2020-03-06 16:58:50 -08:00
Anthony Sottile
b11575b998
Fix missing test coverage
2020-03-06 16:58:29 -08:00
Anthony Sottile
1e14929aec
Improve performance of large pastes by batching text
2020-03-06 09:43:13 -08:00
Anthony Sottile
85af92537c
Merge pull request #36 from asottile/all-repos_autofix_all-repos-manual
...
Use covdefaults to handle coveragerc
2020-02-29 21:30:46 -08:00
Anthony Sottile
a966aef72d
Use covdefaults to handle coveragerc
...
[covdefaults](https://github.com/asottile/covdefaults )
Committed via https://github.com/asottile/all-repos
2020-02-29 21:11:36 -08:00
Anthony Sottile
ecee5ab1ab
Use the default colors instead of the muted ones
2020-02-29 20:26:06 -08:00
Anthony Sottile
e365580985
Ensure PageUp and PageDown go to beginning of line
2020-02-29 16:09:34 -08:00
Anthony Sottile
c248fb2d50
Fix noop cut at end of file
...
Resolves #35
2020-02-27 16:11:27 -08:00
Anthony Sottile
21ada1750b
make a module for typing-related things
2020-02-24 15:31:39 -08:00
Anthony Sottile
b02a6eeb29
Merge pull request #34 from asottile/require_3_6_1
...
babi: require 3.6.1+
2020-02-24 15:27:37 -08:00
Anthony Sottile
6dbad7791d
babi: require 3.6.1+
2020-02-24 15:24:38 -08:00
Anthony Sottile
bf8e26d4f6
Merge tag 'v0.0.0.post1'
2020-02-24 15:08:36 -08:00
Anthony Sottile
3edcbe621d
v0.0.0.post1
2020-02-24 15:05:24 -08:00
Anthony Sottile
c4944669e9
Temporarily restore 3.6.0 support
2020-02-24 15:05:05 -08:00
Anthony Sottile
3c30b25238
Split XDG lookup to a function
2020-02-22 15:35:10 -08:00
Anthony Sottile
1b9114e050
Merge pull request #33 from asottile/split_file
...
Split babi.py into separate file
2020-02-22 15:17:58 -08:00
Anthony Sottile
a2ffbfd0de
Move Screen to babi.screen
2020-02-22 15:11:08 -08:00
Anthony Sottile
babb024c51
move File into its own file
2020-02-22 14:47:14 -08:00
Anthony Sottile
a207ba6302
split out History
2020-02-22 14:33:55 -08:00
Anthony Sottile
9343805ad0
move Perf to its own module
2020-02-22 14:33:55 -08:00
Anthony Sottile
8693894fae
Split out Status
2020-02-22 14:33:55 -08:00
Anthony Sottile
524dca9c7a
move Prompt to a separate module
2020-02-22 14:33:55 -08:00
Anthony Sottile
b7bb28bd76
move Margin to its own module
2020-02-22 14:33:55 -08:00
Anthony Sottile
e2b5d533b6
Split ListSpy to its own module
2020-02-22 14:33:54 -08:00
Anthony Sottile
b7700b8588
convert babi into a package
2020-02-22 12:35:41 -08:00
Anthony Sottile
9683f15bcf
Don't include the bottom line of selection if blank
2020-02-21 19:35:28 -08:00
Anthony Sottile
75151505a7
Add cProfile output to --perf-log
2020-02-19 18:46:25 -08:00
Anthony Sottile
e0b10e8b9c
Remove --color-test
2020-02-17 17:08:26 -08:00
Anthony Sottile
a36ea5d1ed
Set position at end when defaulting prompt
2020-01-08 22:20:01 -08:00
Anthony Sottile
1030f1170a
Fix dedent at beginning of line
2020-01-08 21:16:53 -08:00
Anthony Sottile
de57f2cef2
Fix search default when equal to last history entry
2020-01-08 21:10:53 -08:00
Anthony Sottile
f1e8bcca3d
Match the position of the reverse-search match in the prompt
2020-01-07 17:31:41 -08:00
Anthony Sottile
817b542861
Add small amount of performance logging
2020-01-07 17:12:42 -08:00
Anthony Sottile
8332979c28
Make get_char a method of Screen
2020-01-07 16:34:45 -08:00
Anthony Sottile
11c195e9bf
Add faster test harness which fakes curses
2020-01-06 20:18:34 -08:00
Anthony Sottile
1c66b81dc3
typo in test name
2020-01-06 09:46:42 -08:00
Anthony Sottile
180ff20be5
Add :sort command
2020-01-06 09:23:53 -08:00
Anthony Sottile
083417399e
Use A_DIM when highlighting
...
- this makes the highlight different from the cursor
- I think this is what vim does
2020-01-06 07:41:09 -08:00
Anthony Sottile
85af31c56f
minor change to quick_prompt
2020-01-05 14:17:49 -08:00