summaryrefslogtreecommitdiffstats
path: root/up.go
AgeCommit message (Collapse)Author
2021-04-27keys: Implement unix-word-rubout (Ctrl-W)HEADmasterGhislain Rodrigues
unix-word-rubout erases all the characters before the cursor until finding either a space or a BOL.
2020-10-29upgrade version to 0.4v0.4Mateusz Czapliński
2020-10-29add --noinput flagMateusz Czapliński
Fixes #50, #33
2020-10-29display version with --helpMateusz Czapliński
2020-10-29add usage info with --help flagMateusz Czapliński
Fixes #35
2020-10-29add --buf flag for specifying buffer sizeMateusz Czapliński
2020-10-29add -c flag for initial pipeline commandMateusz Czapliński
Fixes #11
2020-10-29add -e multi-flag for custom shellMateusz Czapliński
2020-03-03add --no-colors flag #46Alexander Kramarev
2018-12-04upgrade version to 0.3.2Mateusz Czapliński
2018-12-04replace yank with better insertMateusz Czapliński
Previous prototype of yank was O(n*m). The new code is more effective O(n+m), and also removes the need for yank function, by extending the insert function to accept more than 1 rune at once.
2018-12-04keys: supplement ctrlKey() with key()Mateusz Czapliński
I'm not really sure why KeyCtrlB needs to be wrapped with ctrlKey() on my machine, if it already has Ctrl in name; I hoped key() would be enough here. But it seems to only work in ctrlKey() for me. However, given the confusion, I currently prefer to err on the "beter safe than sorry" side, and slap both variants everywhere. To be fixed some day in future maybe.
2018-11-21keys: Protect against killspace consuming an empty buffer upon killcmacrae
2018-11-21keys: Use len(e.value) for `C-e`cmacrae
2018-11-20keys: Implement yank (C-y)cmacrae
2018-11-20keys: Implement `kill-to-end-of-line (C-k)`cmacrae
2018-11-20keys: Implement basic readline movement keyscmacrae
- C-b: left - C-f: right - C-a: beginning-of-line - C-e: end-of-line
2018-10-31release 0.3.1v0.3.1Mateusz Czapliński
2018-10-31print detailed error message for ErrTermNotFoundMateusz Czapliński
Closes #15. Unfortunately, it seems that the "terminfo" infrastructure in the Linux/Unix world is defined only at C ABI level (not at file format level), and as such is fundamentally incompatible with pure-Go applications. I don't see a good way to solve this problem in a cross-platform (or, mainly, cross-Unix) way, so I'm currently falling back to displaying an error message, asking user to patch the mess locally for themselves by hand.
2018-10-31some cleanup in TODOsMateusz Czapliński
2018-10-31refactor shell discoveryMateusz Czapliński
Closes #29 - thanks @rhnvrm for pointing out that readability of this fragment of code could be improved!
2018-10-27use $SHELL instead of hardcoded bashv0.3Mateusz Czapliński
Fixes #2. This currently requires the $SHELL to support a `-c` option. For shells that do not support such option, it's recommended to write a wrapper script. Thanks to everybody who contributed ideas how to resolve this, and especially for ottidmes & symphorien on #nixos IRC channel.
2018-10-26fix restart on Ctrl-Qv0.2.1Mateusz Czapliński
Broken after changing the logic for "Enter to run" feature.
2018-10-26et al.v0.2Mateusz Czapliński
2018-10-26Merge branch 'pr3'Mateusz Czapliński
2018-10-26add missing AUTHORS fileMateusz Czapliński
2018-10-26implement my review requestsMateusz Czapliński
2018-10-25add -o/--output-script optionMateusz Czapliński
For reddit.com/u/attrigh and other zsh users. https://www.reddit.com/r/commandline/comments/9qt0ay/ultimate_plumber_is_a_tool_for_writing_linux/e8d53n1
2018-10-25add help info about Enter keyMateusz Czapliński
2018-10-25better saving or printing of command after exitMateusz Czapliński
2018-10-25update version to 0.2Mateusz Czapliński
2018-10-25rename unsafe modeMateusz Czapliński
2018-10-25add more TODOsMateusz Czapliński
2018-10-25cleanup TODOsMateusz Czapliński
2018-10-25remove unused experimental colorsMateusz Czapliński
2018-10-25experiments with colorsMateusz Czapliński
2018-10-25initial sketch of Enter-driven executionMateusz Czapliński
2018-10-24feat: use pflag instead of flagRohan Verma
2018-10-24feat: use flag library instead of custom flag parserRohan Verma
2018-10-21fix displaying last line if not ended with newlineMateusz Czapliński
2018-10-21remove done TODOs; add Ctrl-D key shortcutMateusz Czapliński
2018-10-21fix a bug in Buf.NewReader not reloading Buf.nMateusz Czapliński
2018-10-21fix behavior of Ctrl-S & Ctrl-QMateusz Czapliński
2018-10-21attempt at fixing Ctrl-S to emit EOF; failedMateusz Czapliński
2018-10-21add pauseMateusz Czapliński
2018-10-21add help messageMateusz Czapliński
2018-10-20show stdin capture status as magic characterMateusz Czapliński
2018-10-20add Region helper typeMateusz Czapliński
2018-10-20add some TODOsMateusz Czapliński
2018-10-20fix left-clip markersMateusz Czapliński