aboutsummaryrefslogtreecommitdiff
path: root/xC.c
Commit message (Collapse)AuthorAgeFilesLines
...
* xC: normalize BSD Editline's history behaviourPřemysl Eric Janouch2022-08-271-10/+43
| | | | Now it's a realistically useful frontend.
* xC: general.save_on_quit -> general.autosavePřemysl Eric Janouch2022-08-271-5/+7
| | | | | Power outages and similar situations make the former unreliable, so get rid of any false promise it might seem to give.
* xC: revise configuration optionsPřemysl Eric Janouch2022-08-271-96/+98
| | | | | | | | | | | This commit constitutes a breaking change to old configurations. All behaviour.* options have now become general.*, with the following few renames as exceptions: - editor_command -> editor - backlog_helper -> pager - backlog_helper_strip_formatting -> pager_strip_formatting
* xC: label code sections betterPřemysl Eric Janouch2022-08-271-9/+9
| | | | Introduce tildes as a new sublevel of markers.
* xC: make fancy-prompt.lua alignment more reliablePřemysl Eric Janouch2022-08-271-3/+30
| | | | And generally clean up that script.
* Bump copyright yearsPřemysl Eric Janouch2022-08-171-1/+1
|
* xC: expand behaviour.editor_command examplesPřemysl Eric Janouch2022-08-141-1/+9
|
* xC: improve backlog helper capabilitiesPřemysl Eric Janouch2022-08-141-12/+19
| | | | | | | | | | | | | | | | | | | Snippets now receive positional parameters in the form of the buffer's name in the locale encoding, and a filename if applicable (we keep passing stdin along with the filename, which happens to work out well for less(1)). The default value of the configuration option also no longer uses the "long prompt", which used to unhelpfully tell position in terms of lines, but rather sets its own prompt that counts pages, and makes sure to indicate the source buffer. The main motivation behind this change is to make the 'v' command work in less(1). LESSSECURE must be omitted from the snippet for this to work. Bump liberty to receive a config parser that allows for less convoluted escaping.
* xC, xD: add basic WALLOPS supportPřemysl Eric Janouch2022-02-041-0/+11
|
* xC: quote text coming from a bracketed pastePřemysl Eric Janouch2021-10-301-3/+39
| | | | Not having this has caused me much annoyance over the years.
* xC: allow passing the cursor position to editorsPřemysl Eric Janouch2021-10-301-11/+114
| | | | | | | | | | | | | | | | | | | Add a configuration option to set a custom editor command, different from EDITOR or VISUAL--those remain as defaults. Implement substitutions allowing to convey cursor information to VIM and Emacs (the latter of which is fairly painful to cater to), and put usage hints in the configuration option's description. This should make the editing experience a bit more seamless for users, even though the position is carried over in one way only. No sophisticated quoting capabilities were deemed necessary, it is a lot of code already. The particular syntax is inspired by .desktop files and systemd. ["/bin/sh", "-c", "vim +$2go \"$1\"", filename, position, line, column] would be a slightly simpler but cryptic way of implementing this.
* xC: make libedit autocomplete less miserablePřemysl Eric Janouch2021-10-301-6/+20
| | | | Omitting even this hack was a huge hit to overall usability.
* xC: normalize ^J behaviour to follow ReadlinePřemysl Eric Janouch2021-10-281-0/+1
| | | | | For some reason Editline inserts it verbatim, but in a more broken manner than it has with ^V^J.
* xC: fix newer libedit (2021-08-29)Přemysl Eric Janouch2021-10-281-14/+5
|
* xC: show orphan outcoming actions differentlyPřemysl Eric Janouch2021-09-051-1/+5
| | | | | | It's hard to think of anything actually good here. This would be an exceptionally rare thing to do, anyway.
* xC: abandon Freenode, embrace IRCnetPřemysl Eric Janouch2021-08-291-3/+3
| | | | | You're not fucking supposed to require a fucking registration on fucking IRC networks.
* xC: mIRC didn't invent all IRC formattingPřemysl Eric Janouch2021-08-291-12/+12
| | | | So let's not confuse ourselves.
* xC: refactor parsing of IRC formattingPřemysl Eric Janouch2021-08-291-83/+83
|
* xC: fix displaying IRC colours above 16Přemysl Eric Janouch2021-08-281-39/+25
| | | | | | | First, we indexed the colour array without a required offset. Second, the data type was too small and overflowed negative. Detected during a refactor, which this is a part of.
* xC: respect text formatting when autosplittingPřemysl Eric Janouch2021-08-281-29/+128
|
* Come up with sillier names for the binariesPřemysl Eric Janouch2021-08-061-0/+14469
I'm not entirely sure, but it looks like some people might not like jokes about the Holocaust. On a more serious note, the project has become more serious over the 7 or so years of its existence.