Commit 3a0713e
committed
✨ [feat] Add -All and -WaitForInput parameters to cycle through colorscripts
Introduces new functionality to display all available colorscripts sequentially with optional manual control 🎬
**Core Features:**
- Adds `-All` parameter to cycle through all colorscripts in alphabetical order
- Adds `-WaitForInput` parameter to pause between each script and wait for spacebar input
- Supports 'q' key to quit early when cycling through scripts
- Integrates with existing `-Category` and `-Tag` filters to show subset of scripts
- Displays progress counter showing current script number and total count
**Implementation Details:**
- Creates new 'All' parameter set in Show-ColorScript function 📂
- Implements dual-mode progression: continuous auto-advance with slight delay, or manual spacebar-controlled stepping ⏯️
- Retrieves filtered script list using Get-ColorScriptEntry or Get-ColorScriptInventory depending on filter presence
- Respects existing `-NoCache` flag during cycling to allow cache bypass if needed
- Renders each script using standard rendering pipeline (cache-aware when possible)
- Shows user-friendly prompts indicating available controls (spacebar/q keys) 🎮
**UI/UX Enhancements:**
- Clears screen before each script display for clean presentation
- Shows formatted progress indicator with cyan/green color coding
- Displays helpful instructions based on mode (auto or manual)
- Provides visual feedback during spacebar input prompt
**Documentation Updates:**
- Updates help documentation with new parameter descriptions
- Adds three new usage examples showing different cycling scenarios 📚
- Documents parameter sets and accepted values
- Explains keyboard controls for interactive mode
**File Housekeeping:**
- Removes trailing blank lines from 60+ colorscript files to maintain consistency 🧹
- Cleans up whitespace in unused and oversized ANSI art files
**Script Analysis Tool Enhancement:**
- Extends Analyze-UnusedAnsiFiles.ps1 with new filtering capabilities
- Adds `-ExcludeRegularAscii` flag to filter out text-only files without extended ASCII art
- Adds `-AsciiCharLimit` parameter to exclude text-heavy files (artist info, copyright notices)
- Implements character counting helper to distinguish art vs. text content
- Provides better categorization in analysis results distinguishing between oversized, ASCII-only, and error files
Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>1 parent a9938ef commit 3a0713e
259 files changed
Lines changed: 5389 additions & 162 deletions
File tree
- ColorScripts-Enhanced
- Scripts
- en-US
- assets
- oversized-colorscripts
- unused-colorscripts
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1796 | 1796 | | |
1797 | 1797 | | |
1798 | 1798 | | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
1799 | 1802 | | |
1800 | 1803 | | |
1801 | 1804 | | |
| |||
1805 | 1808 | | |
1806 | 1809 | | |
1807 | 1810 | | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
1808 | 1818 | | |
1809 | 1819 | | |
1810 | 1820 | | |
| |||
1835 | 1845 | | |
1836 | 1846 | | |
1837 | 1847 | | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
1838 | 1860 | | |
1839 | 1861 | | |
1840 | 1862 | | |
| |||
1853 | 1875 | | |
1854 | 1876 | | |
1855 | 1877 | | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
1856 | 1884 | | |
1857 | 1885 | | |
1858 | 1886 | | |
| |||
1886 | 1914 | | |
1887 | 1915 | | |
1888 | 1916 | | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
1889 | 2010 | | |
1890 | 2011 | | |
1891 | 2012 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments