7b63dbca46
fix: terminate truncated ANSI codes, honor ASCII fallback in box borders
...
- blk/nln/unbl/rsinv/hid/unh were missing the trailing 'm', producing
invalid escape sequences. Concatenated with text (e.g. temperature
readouts using ${blk}), strict-parsing terminals would read the
digits/letters that followed as CSI parameters, causing garbled
output or unwanted cursor movement.
- norm used bash's $"..." locale-translation syntax on an ANSI code
instead of a plain string.
- set-boxtype() always ran box-norm/double/heavy/light/rounded, which
draw with hardcoded Unicode corner glyphs, even when
check_unicode_support() determined the terminal/locale couldn't
render Unicode. This defeated box_chars_simple()'s ASCII fallback
entirely. Now the Unicode style dispatch is skipped when
unicode_supported is false.
- Removed a duplicate box-singlechar() definition.
2026-07-17 16:01:11 -07:00
Alan Weinstock
a0d2cc4382
Merge pull request #6 from pyr0ball/power_mon
...
Added power monitoring functions
2025-03-04 20:16:07 -08:00
alanweinstock
7e30ea04db
fixed nvidia-smi output breaking check
2025-02-27 15:53:58 -08:00
alanweinstock
2037c0815f
added power monitoring functions
2025-02-27 15:27:51 -08:00
alanweinstock
ff843c2e17
removed legacy set-boxtype()
2025-02-27 14:44:32 -08:00
alanweinstock
9be8761ab8
iterated minor version 2.1.1
2025-02-26 21:55:29 -08:00
alanweinstock
b7c8aa79d5
added maximum terminal width
2025-02-26 21:42:30 -08:00
alanweinstock
166eec7431
iterated feature version, 2.1.0
2025-02-26 09:42:36 -08:00
alanweinstock
82c576129b
added support for formatted boxes
2025-02-26 09:42:07 -08:00
alanweinstock
e38b44c542
changed set-boxtype to accept args, iterated minor version (2.0.2)
2025-02-26 08:42:59 -08:00
alanweinstock
6ddb1539f3
fixed boxborder initialization
2025-02-26 08:35:50 -08:00
alanweinstock
17f82308b1
fix for repchar creating endless loops
2025-02-25 21:21:13 -08:00
alanweinstock
c521b0ad3f
Iterated major version after refactor
2025-02-25 20:55:30 -08:00
alanweinstock
2c19a91a55
refactored boxborder, center, span
2025-02-25 19:58:47 -08:00
396430c539
fixed center function double-echoing boxline
2023-08-08 23:32:38 -07:00
ef2b1c1dfc
added option to colorize borders
2023-08-08 23:25:20 -07:00
alanw
b24e2f6b0b
refactored package check to return values based on logic
2023-06-20 14:50:37 -07:00
alanw
543a836f42
homogenized names
2023-06-20 14:17:59 -07:00
alanw
a0312747a6
v1.6.3 - added check-packages() function
2023-06-20 14:14:35 -07:00
alanw
762dbaeecc
v1.6.2 - Added logger functionality to run()
...
- removed run-and-log()
2023-06-20 14:12:07 -07:00
alanw
0c1d593673
added additional failovers and checks to run-from-url()
2023-06-20 14:09:09 -07:00
Alan Weinstock
4c8211b4f8
Merge pull request #5 from pyr0ball/develop
...
[New Features] v1.6.x - Adding OS agnostic functions, package management
added new function `install-package()` which accepts either a package name used with your local package manager, or a local file *.deb or *.rpm and automatically chooses the correct method for installation based on the system and available binaries
2023-06-15 02:16:42 -07:00
7c13e1b9d3
homogenized function names
2023-06-15 01:52:01 -07:00
3e82f01a28
slight correction to logo
2023-06-09 08:49:03 -07:00
Alan Weinstock
757a0b7cda
Merge pull request #2 from pyr0ball/experiments
...
added function to validate a git repo directory
2023-05-27 22:25:28 -07:00
b4b57291bd
added function to validate a git repo directory
2023-05-27 22:21:36 -07:00
9293f97c7d
fixed spelling mistake
2023-05-27 21:46:55 -07:00
9708a35806
v1.6.0 - Merge branch 'optimizations' of https://github.com/pyr0ball/PRbL into develop
2023-05-27 21:22:00 -07:00
a1e5b66a07
repcahr optimizations
2023-05-27 21:17:02 -07:00
Alan Weinstock
1e83f6977e
Merge pull request #1 from pyr0ball/newfeature-pkg-management
...
[New Feature] package management
2023-05-27 13:56:54 -07:00
e6d0ad3efd
Merge branch 'master' of https://github.com/pyr0ball/PRbL into HEAD
2023-05-27 13:43:07 -07:00
2fac6ba3a3
fixed center function
2023-05-27 13:40:39 -07:00
alanw
1d187a0c4d
added colorization to logoadded colorization to logo
2023-05-25 16:14:27 -07:00
alanw
ee2d534155
v1.5.1 - refactored boxborders
2023-05-25 14:48:21 -07:00
alanw
d9ad8811b4
refactored boxborder functions for optimized prints
2023-05-25 14:45:14 -07:00
alanw
64764f8d40
v1.5.0 - optimization pass1
2023-05-25 14:44:14 -07:00
alanw
fc1b52538e
refactored boxborder stylization
2023-05-25 14:38:22 -07:00
alanw
37f2332c11
v1.4.0 - beta package managementv1.4.0 - beta package management
2023-05-25 14:00:41 -07:00
alanw
ba446e52db
added offline package handling, refactored system detection
2023-05-25 13:59:32 -07:00
c03ad9e033
Merge branch 'master' of https://github.com/pyr0ball/PRbL
2023-05-24 19:51:20 -07:00
5b9984df80
fixed recursion in function
2023-05-24 19:50:50 -07:00
alanw
0449c9f670
new algo testingnew algo testing
2023-05-23 16:39:47 -07:00
alanw
a0ac60edee
porting over commands from python library
2023-05-11 16:38:36 -07:00
alanw
44673ae150
added beginning of OS detection and install commands
2023-05-11 16:23:28 -07:00
alanw
f714911ae0
v1.3.0 - expanded logging
2023-05-11 10:45:37 -07:00
alanw
86c10738ce
added check to logfile
2023-05-10 10:07:09 -07:00
alanw
14e4a6139d
iterated version
2023-05-09 16:08:11 -07:00
alanw
91da452517
removed logger calls from utils functions. handled by boxline
2023-05-09 16:07:33 -07:00
alanw
6f0c8efbaf
iterated minor version
2023-05-09 16:05:01 -07:00
alanw
718e324a6b
re-ordered functions, added logging to boxline
2023-05-09 16:04:32 -07:00