summaryrefslogtreecommitdiffstats
path: root/usage.c
AgeCommit message (Collapse)Author
7 daysAdd a -hbar|-shroll_bar optionHEADmasterpgen
It can be useful to always have a horizontal scroll bar when certain lines are truncated in column or line mode, even if no lines are currently truncated among those displayed.
2024-01-25Add a scroll bar below the window in col/line modepgen
This horizontal scrollbar is clickable when the mouse is available, and adds a new way of navigating through the words displayed.
2023-09-20Fix a misnamed option and a typo in the manualpgen
2023-03-30Add -the -sb|-sbw|-show_blank_words optionpgen
This option makes the blank words visible and usable even when we are not in column mode.
2023-03-22Allow words to be aligned in column mode.pgen
It is also possible to align all the words in a set of columns or rows. Updated options: -C, -R New option: -al|-align Updated manual.
2022-08-31Add mouse supportpgen
- Direct selection of words by clicking. - Tagging/untagging of words by clicking. - Scrolling by clicks and wheel. - Validation of the selection with a double-click. - Shifting the content of the windows to the left or to the right, also added new keyboard keys < and > for that. Three mouse tracking protocols are supported: X11 (1000) and X11 SGR (1006) and urxvt (1015). The X11 protocol limits lines and columns to 223 (e.g. screen < 4.7.0) The other supported protocols don't have this limitation. New options to disable the mouse, change the double-click delay and remap the buttons of the mouse are available. On (virtualised?) (Free)BSD it may be necessary to disable buttons 8 and 9, refer to the manual for details.
2022-08-08Bump to release 1.0.0v1.0.0pgen
2022-08-02Make the -h output clearer and more readablepgen
2022-06-02Switch to Mozilla Public License 2.0pgen
2021-08-28Add a global timeout which defaults to 15minpgen
A new option can be used to modify this value: -f|-forgotten_timeout|-global_timeout
2021-04-11Add an early substitution option -ES similar to -Spgen
Early substitutions are applied immediately after obtaining a word from the input. Operations such as numbering, coloring or excluding will be performed after the substitution and not before as in the classic -S/-E/-I options.
2021-03-27Add an option to alter the tag mode behaviourpgen
This option (-0|-noat|-no_auto_tag) disables automatic tagging of the word under the cursor in tag mode when no word is tagged. This is true even if -p|-at|-auto_tag is also specified.
2021-03-20Allow 4 more special levels (-1, -2, ..., -9)pgen
2021-02-25Add a licence reminder in the usage.c filepgen
2021-02-15Add the possibility to overload initial limitspgen
This new option (-lim|-limits) allow to set the following limits: - maximum word length - maximum number of words - maximum number of columns
2021-02-10A new search session is now forgetful by defaultpgen
The old incremental search behaviour can still be used using the new -is|-incremental_search parameter.
2020-11-13Improve commentspgen
2020-11-07Make smenu mimic Unix shell signal handling.pgen
Also make the internal CTRL-C management mimic the default SIGINT behaviour.
2020-11-05Add a option to define a string to be output on ^Cpgen
Also reduce some code duplication.
2020-10-04Add a -Q|-ignore_quotes option to ignore quotespgen
With this option " and ' will lose their grouping function and be considered normal characters.
2020-09-01Fix configuration parsing logicpgen
The -f|-cfg|-config_file option is also removed because it is unnecessary and cannot be used with the new logic.
2020-07-28Add a sub-option m to -Dpgen
The purpose is to control the numbering of entries with missing embedded numbers when -F is used. Also make sure that -D is evaluated before -F, -U and -N and -F before -U and -N. Update and correct the manual accordingly. Fix a test now that -N and -U accept multiple arguments.
2020-07-18Allow to change the substitution characterpgen
A pointer to the misc structure has to be passed to a certain number of functions for that, but this prepares the ground for future developments of this type. The code to interpret \u (UTF-8) sequences has also been made more robust for better manage incorrect entries.
2020-07-18Add an option to ignore glyphs when readingpgen
A glyph can be a single character or a sequence of UTF-8 bytes.
2020-06-23Typo correction and reformulationspgen
2020-06-14No longer allow option abbreviationspgen
2019-10-06Improve the man page and rename a long argumentpgen
2019-10-05Enable wide mode also in the Columns contextpgen
2019-10-05Add long options in the manual + work on contextspgen
2019-10-01Use ctxopt.[ch] for options managementpgen
The old getopt, derived from egetopt, was too restrictive, so I developed ctxopt to better manage smenu options.
2019-03-30Rework the usage mechanismpgen