mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-04 20:37:55 +00:00
Modify _msg function for new string format.
This commit is contained in:
parent
f7057b7d03
commit
bb863b7e17
3
tomb
3
tomb
@ -491,7 +491,8 @@ option_value() {
|
||||
|
||||
# Messaging function with pretty coloring
|
||||
function _msg() {
|
||||
local msg="$(gettext -s "$2")"
|
||||
local tmp_msg="$(gettext -s - "$2")"
|
||||
local msg="${(S)${(S)${(S)tmp_msg//::3*::/$5}//::2*::/$4}//::1*::/$3}"
|
||||
local command="print -P"
|
||||
local progname="$fg[magenta]${TOMBEXEC##*/}$reset_color"
|
||||
local message="$fg_bold[normal]$fg_no_bold[normal]$msg$reset_color"
|
||||
|
Loading…
Reference in New Issue
Block a user