- Added: 'config set' subcommand to set entries at runtime
- Added: 'config edit' subcommand to edit entries at runtime
- Added: 'config reset' subcommand to reset entries at runtime
- Database: Sorted tags alphabetically
- Database: Replaced ambiguous punctuation with standard punctuation
- Database: Updated to 2024-05-31
You can now edit the config file at runtime (which nobody asked for, but somebody might find useful). This is mostly useful for changing the terminal colours and launch options, for example:
> config set format/ansi/colour/matchingText 1;41
Will change the terminal colour for the matching text to be bold on a red background.
TAB completion works when entering the path to a config item, and I find it's the best way to navigate it.
Ambiguous punctuation
Some authors prefer to edit their teases in a word processor before copy/pasting the content into a tease. Word processors have a habit of changing a dash in a hyphen, double quotes into left/right double quotes, etc. This can make searching for a particular phrase that includes punctuation more likely to not match.
Some ambiguous punctuation has been replaced with a more conventional character in the database. This is a table of those replacements:
Code: Select all
Name │ Char │ Unicode ║ ║ Name │ Char │ Unicode
───────────────────────────────────────┼──────┼─────────╢ ╟────────────────┼──────┼──────────────────────
Non-breaking Space │ │ U+00A0 ║ -> ║ Space │ │ U+0020
Carriage Return │ │ U+000D ║ -> ║ Space │ │ U+0020
Tab │ │ U+0009 ║ -> ║ Space │ │ U+0020
Grave Accent │ ` │ U+0060 ║ -> ║ Apostrophe │ ' │ U+0027
Acute Accent │ ´ │ U+00B4 ║ -> ║ Apostrophe │ ' │ U+0027
Hyphen │ ‐ │ U+2010 ║ -> ║ Hyphen Minus │ - │ U+002D
Non-breaking Hyphen │ ‑ │ U+2011 ║ -> ║ Hyphen Minus │ - │ U+002D
Figure Dash │ ‒ │ U+2012 ║ -> ║ Hyphen Minus │ - │ U+002D
En Dash │ – │ U+2013 ║ -> ║ Hyphen Minus │ - │ U+002D
Em Dash │ — │ U+2014 ║ -> ║ Hyphen Minus │ - │ U+002D
Horizontal Bar │ ― │ U+2015 ║ -> ║ Hyphen Minus │ - │ U+002D
Swung Dash │ ⁓ │ U+2053 ║ -> ║ Hyphen Minus │ - │ U+002D
Minus Sign │ − │ U+2212 ║ -> ║ Hyphen Minus │ - │ U+002D
Small Em Dash │ ﹘ │ U+FE58 ║ -> ║ Hyphen Minus │ - │ U+002D
Small Hyphen Minus │ ﹣ │ U+FE63 ║ -> ║ Hyphen Minus │ - │ U+002D
Full-width Hyphen Minus │ - │ U+FF0D ║ -> ║ Hyphen Minus │ - │ U+002D
Left Single Quotation Mark │ ‘ │ U+2018 ║ -> ║ Apostrophe │ ' │ U+0027
Right Single Quotation Mark │ ’ │ U+2019 ║ -> ║ Apostrophe │ ' │ U+0027
Single Low-9 Quotation Mark │ ‚ │ U+201A ║ -> ║ Apostrophe │ ' │ U+0027
Single High-Reversed-9 Quotation Mark │ ‛ │ U+201B ║ -> ║ Apostrophe │ ' │ U+0027
Left Double Quotation Mark │ “ │ U+201C ║ -> ║ Quotation Mark │ " │ U+0022
Right Double Quotation Mark │ ” │ U+201D ║ -> ║ Quotation Mark │ " │ U+0022
Double Low-9 Quotation Mark │ „ │ U+201E ║ -> ║ Quotation Mark │ " │ U+0022
Double High-Reversed-9 Quotation Mark │ ‟ │ U+201F ║ -> ║ Quotation Mark │ " │ U+0022
Horizontal Ellipsis │ … │ U+2026 ║ -> ║ Period │ ... │ U+002E U+002E U+002E
Low Asterisk │ ⁎ │ U+204E ║ -> ║ Asterisk │ * │ U+002A
───────────────────────────────────────┼──────┼─────────╢ ╟────────────────┼──────┼──────────────────────
Name │ Char │ Unicode ║ ║ Name │ Char │ Unicode

