Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Original code by virtalas (https://gist.github.com/virtalas/e4e8a56bfe48ccb9c5ed13cc181e6ba3) | |
| # Improved example sentence generation support by Josh Huelsman | |
| ''' Example sentence generation requires a modified version of jamdict that supports the new <example> XML element | |
| found in JMdict_e_examp.gz since ~2021. And by rebuilding your jamdict database by replacing JMdict_e.gz with | |
| JMdict_e_examp.gz | |
| `python3 -m jamdict config` should list out the locations for where JMdict_e.gz, kanjidic2.xml.gz, JMnedict.xml.gz |
[ Update 2020-05-31: I won't be maintaining this page or responding to comments anymore (except for perhaps a few exceptional occasions). ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
| /* | |
| * OpenSimplex Noise in Java. | |
| * by Kurt Spencer | |
| * | |
| * v1.1 (October 5, 2014) | |
| * - Added 2D and 4D implementations. | |
| * - Proper gradient sets for all dimensions, from a | |
| * dimensionally-generalizable scheme with an actual | |
| * rhyme and reason behind it. | |
| * - Removed default permutation array in favor of |