summaryrefslogtreecommitdiffstats
path: root/smenu.h
AgeCommit message (Collapse)Author
13 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-02-06Rename get_bytes/_word into read_bytes/_wordpgen
2024-02-06Take UTF-8 spaces into account for empty stringspgen
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-11-12Typospgen
2023-11-05Correction of cursor attribute on search failurepgen
2023-09-11Reformatting source codepgen
2023-06-09Indicate authorship of a piece of codepgen
2023-04-30New feature: define attributes for columns/rowspgen
The -C and -R options now have a new directive that allows you to define attributes (colors, ...) for a set of rows and columns.
2023-04-24Rename some toggles to improve readabilitypgen
2023-04-19Start to reduce memory consumptionpgen
The type of special_level in the structure word_s is changed to unsigned char.
2023-04-10Make the order of -C/-R matter on the command linepgen
This modifies the order of precedence of alignments for rows and columns. The manual was also adjusted.
2023-03-31Add an optional argument to the -sb optionpgen
This argument allow to change the character used to make blank words visible.
2023-03-30Improve the display of unparsed selector partspgen
Add a function to print non printable characters in selectors if any, and rework a little the code to manage that.
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-24Various alignment fixes and tuningspgen
- Allows alignment of word containing spaces. - Alignments with RE should ignore leading/trailing spaces. - Also some dead code removal.
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.
2023-02-20Correct some comments and typospgen
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