Skip to content

Commit

Permalink
fix: tmp show CI terminal TERM [NMO-546]
Browse files Browse the repository at this point in the history
  • Loading branch information
RedLeader962 committed May 10, 2024
1 parent eb2822a commit 4c40520
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/function_library/prompt_utilities.bash
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ function n2st::draw_horizontal_line_across_the_terminal_window() {

# Ref https://bash.cyberciti.biz/guide/$TERM_variable
TPUT_FLAG="-T $TERM"

# (CRITICAL) ToDo: on task end >> delete next bloc ↓↓
printenv
echo -e "Original TERM=${TERM}"

if [[ -z ${TERM} ]]; then
TPUT_FLAG='-T xterm-256color'
elif [[ ${TERM} == dumb ]]; then
Expand Down

0 comments on commit 4c40520

Please sign in to comment.