Skip to content

Commit

Permalink
chore: use '--RAW-CONTROL-CHARS' in less (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
LangLangBart authored Jan 21, 2024
1 parent b60e9fd commit 9a470d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gh-notify
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,10 @@ select_notif() {
# less version 643, so only use the short version.
# Ref: https://github.com/gwsw/less/issues/452
less_args=(
"--clear-screen" # to be painted from the top line down
"-+F" # disable exiting if the entire file can be displayed on the first screen
"-+X" # disable screen clearing prevention
"--clear-screen" # to be painted from the top line down
"--RAW-CONTROL-CHARS" # Raw color codes in output (don't remove color codes)
"-+F" # reset exiting if the entire file can be displayed on the first screen
"-+X" # reset screen clearing prevention
)

local output expected_key selected_line repo type num
Expand Down

0 comments on commit 9a470d5

Please sign in to comment.