summaryrefslogtreecommitdiffstats
path: root/smenu.h
AgeCommit message (Collapse)Author
2022-11-13Remove an unnecessary toggle related to taggingpgen
2022-11-12Fix the tagging code and update the manualpgen
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-18Move variable definitions from smenu.h to smenu.cpgen
2022-06-20Various small changespgen
- add/fix const keyword. - add comments. - rename variables.
2022-06-02Switch to Mozilla Public License 2.0pgen
2022-05-10Remove an unused parameter and simplify the codepgen
2022-04-29Make pointers explicit in swap functionspgen
2022-02-23Prevent smenu from running in the backgroundpgen
2022-02-10Add the "invisible" (n) style attributepgen
2022-02-06Minor code changes and comment adjustmentspgen
2022-01-06Use enum for the color method (classic or ANSI)pgen
2022-01-05Add some commentspgen
2021-12-10Remove obsolete constants ROW_REGEX_*pgen
2021-12-01Remove unused prototypespgen
2021-11-26Remove unused argumentspgen
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-05-22Keep working on the commentspgen
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-26Add the missing blink attributepgen
Allowed attributes are now: bold, dim, reverse, standout, underline, italic and blink.
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.
2021-01-29Make sure that smenu can be built and run on AIX.pgen
- Add some encodings. - Manage some terminfo database specificities. - Avoid type collisions. - Work around an incompatibility in memory management functions.
2021-01-25Typoespgen
2021-01-02Fix a display problem in a very specific casepgen
The display is corrupted when the height of the title is greater than or equal to the height of the screen. Fix the problem by truncating the title from the bottom.
2020-12-06Rename some data structures for coherencypgen
2020-12-06Move part of the init. code into a functionpgen
2020-10-25Various modification.pgen
- Fix the initial determination of the terminal size. - Errors when opening /dev/tty are now fatal. - smenu now requires the terminal cursor position retrieval feature. - Remove the method introduced in commit 86af6b7 to get the terminal size as it is non-portable.
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-16Avoid name collisions on Solaris-based OSpgen
2020-09-13Reformat using ReflowComments='false'pgen
2020-09-01Support networks with high latencypgen
2020-08-27Set a default 10s search timerpgen
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-26Allow -N and -U to accept multiple argumentspgen
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-05-25Rework smenu.hpgen
2020-04-23Use a new constraint check for the "lines" optionpgen
2019-08-05Make -Wpedantic happypgen
Change some code that does not conform to the c99 standard. Reported by Matteo Cypriani <mcy@lm7.fr>
2019-03-30Silent compiler warningspgen
2019-03-30Rework the usage mechanismpgen
2019-03-17Allow to change the message (title) appearancepgen
2019-03-04Rewrite move_up/move_down and add helper functionspgen
- The old code did not manage well the cases where some lines where not selectable. - Add tests to validate the new behaviour.
2019-01-20Add GPL2 license reminder where appropriatepgen
2019-01-20Rename some parameterspgen
2019-01-20Create the move_{left,right,up,down} functionspgen
2018-10-01Rename some variables to avoid a name clashpgen
2018-10-01Add comments and remove spurious ones.pgen
2018-10-01Create utils.[ch]pgen