Commit Graph

404 Commits

Author SHA1 Message Date
5b1344db44 Fix for ALTSCREEN getting broken by CTRL-Z 2019-06-15 14:02:32 -07:00
3614df7450 More robust/automatic handling of PICKER 2019-06-15 13:52:32 -07:00
8000a4a1bb Renamed command->script in more places to avoid confusion. 2019-06-12 18:55:55 -07:00
bd06e6c99a Improved some names (process command/run script) and changed quit to use
a flag on bb_t instead of a return value.
2019-06-12 18:52:10 -07:00
0fe25dddb6 Wrapped SPIN() around more of 'M' command 2019-06-12 18:15:34 -07:00
87c462a63d Tweaked to allow setting optimization level more easily 2019-06-12 17:55:20 -07:00
4bac1a740a Cleaned up commands a bit and changes 'P' from using grep for patterns
to select to 'S' to use shell globbing
2019-06-12 16:57:07 -07:00
69955d3808 Switched some stuff to use $() instead of `` for better composing,
rearranged things a bit to launch bb fewer times for commands.
2019-06-12 15:11:29 -07:00
85a4be481b Reverted change to move cursor up 1 line with builtin pick 2019-06-11 17:38:24 -07:00
91a31ee7e6 Show cursor after ctrl-c 2019-06-10 22:57:26 -07:00
e094108f11 Don't show '..' from '/' 2019-06-10 22:55:53 -07:00
75c59302d9 Adding info 2019-06-10 22:32:38 -07:00
cf557b3416 Make instructions in a block 2019-06-10 22:28:47 -07:00
14ac6782a6 Wording 2019-06-10 22:28:09 -07:00
9e69ce6439 Fixed section headers 2019-06-10 22:27:06 -07:00
792a39500c Simplified the make flags for fuzzy finding and asking. Cleaned up the
readme a bit.
2019-06-10 22:26:13 -07:00
15e5de72f7 Version bump 2019-06-10 20:39:00 -07:00
5a5f9afa05 Updated with some cleaner behavior for PICK and added SPIN. Also removed
command line flags in favor of manually using `tput rmcup`. Updated the
documentation.
2019-06-10 20:37:34 -07:00
86c8bed803 Better pausing and break points for commands 2019-06-09 16:15:17 -07:00
399b63f57c Fix for being unable to deselect nonexistant files 2019-06-09 15:46:34 -07:00
f2151f7835 Merge branch 'master' of bitbucket.org:spilt/bb 2019-06-08 20:54:25 -07:00
5d660e2378 Added -r flag for cp for copying dirs 2019-06-08 20:53:36 -07:00
257f8ee0d0 Fix for top level '/' dir edge cases 2019-06-06 23:28:03 -07:00
9ab3ad0fa0 Bumped version 2019-06-06 18:13:58 -07:00
76f1cd816b Removed some unnecessary +refreshes and just set the dirty bit to 1
whenever an external program runs so the screen redraws without
necessarily refreshing the file listing.
2019-06-06 18:13:13 -07:00
069415a78b Reworked a bunch of the config option stuff for picking files and user
input. Now that stuff is handled with makefile flags.
2019-06-06 18:10:14 -07:00
380f2a8ab0 Removed code for move cursor to position (unused) 2019-06-06 18:09:33 -07:00
2c56bd34d7 Removed QUOTE() and cleaned up some of the macros for FUZZY and ASK 2019-06-06 16:45:31 -07:00
47019164a5 Fixed some wrap/cursor visibility issues 2019-06-06 15:37:26 -07:00
32b414e555 Removed breadline() and switched to use ask when possible, defaulting
to `read` and `fzy`
2019-06-06 15:33:20 -07:00
470caf1d60 Fixed bug with backspace 2019-06-04 21:15:17 -07:00
921b7ed4f8 Fixed issue with navigating to parent not selecting previous directory. 2019-06-04 21:14:49 -07:00
05705300de Removed junk 2019-06-04 21:14:17 -07:00
2db997c9e0 Fixed issue with non-NORMAL_TERM commands that set and reset alt screen,
and fixed issue with "(n) selected" message
2019-06-04 14:05:14 -07:00
824445c2fa Cleaned up scrolling logic 2019-06-04 13:44:43 -07:00
a667c09452 Merge branch 'master' of bitbucket.org:spilt/bb 2019-05-31 21:51:29 -07:00
888f859e97 Improved the randomization a bit, so the numbers are evenly distributed
[0,n) instead of [0, RAND_MAX), also cleaned up config file a little
2019-05-31 21:51:08 -07:00
b6fa5777c8 Improved the randomization a bit, so the numbers are evenly distributed
[0,n) instead of [0, RAND_MAX)
2019-05-31 21:49:42 -07:00
1ae281d3f9 Inlined PIPE_SELECTION_TO since it's only used once 2019-05-31 19:48:43 -07:00
18b98c8543 Made links dim (-> foo) instead of just the arrow 2019-05-31 18:57:32 -07:00
58d4c86389 Switched ':' to use "sh" instead of "$SHELL" because not all shells take
arguments.
2019-05-31 18:55:28 -07:00
0fa6e3a636 Compacting the code, putting column names with widths 2019-05-31 17:59:58 -07:00
05601c886b Added "<selection>" virtual directory, added '-' mark for "last
non-virtual directory" and 's' for "selection virtual directory",
cleaned up path normalization, added "N selected" visualization.
2019-05-31 17:44:18 -07:00
7fd3e166ee Better name for "double left click" 2019-05-31 16:13:50 -07:00
ca9ff7e941 Moved colwidths to config 2019-05-31 14:56:25 -07:00
06fa2d5b3c Got rid of +align command, and simplified column width logic (no more
auto-sizing, no more alignment, everything just has a static width now)
2019-05-31 14:52:57 -07:00
019ae526da Fixed some redraw dirty flag issues 2019-05-31 14:34:17 -07:00
961ac49f81 Simplifying interleave code and adding doc 2019-05-31 13:26:23 -07:00
17ce3f08df Moving interleave-dirs back from a full column to just a setting 2019-05-31 13:23:01 -07:00
c237e80bae Added a bit of extra spacing around columns 2019-05-31 13:14:29 -07:00