adding tricks to solve vibe problems about color and window repaint
This commit is contained in:
@@ -26,10 +26,9 @@ hardstatus alwayslastline
|
|||||||
# %m month
|
# %m month
|
||||||
# %y year
|
# %y year
|
||||||
hardstatus string "%{= KW}%n %t %=%c %D %d-%m-%y"
|
hardstatus string "%{= KW}%n %t %=%c %D %d-%m-%y"
|
||||||
#hide hardstatus: ctrl-a f
|
|
||||||
bind f eval "hardstatus ignore"
|
# trick to force a full window repaint (press C-a r), fixes display glitches (e.g. with vibe)
|
||||||
#show hardstatus: ctrl-a f
|
bind r eval "hardstatus ignore" "hardstatus alwayslastline"
|
||||||
bind F eval "hardstatus alwayslastline"
|
|
||||||
|
|
||||||
#screen open a new windows
|
#screen open a new windows
|
||||||
# -t assign a title
|
# -t assign a title
|
||||||
|
|||||||
+6
-4
@@ -4,10 +4,6 @@
|
|||||||
#PS1="%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)"
|
#PS1="%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)"
|
||||||
#PS1='%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%test%{$reset_color%} $(git_prompt_info)'
|
#PS1='%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%test%{$reset_color%} $(git_prompt_info)'
|
||||||
|
|
||||||
# launch vlc or mpv in flatpax sandboxed
|
|
||||||
mpv-sandbox() { flatpak run io.mpv.Mpv "$@"; }
|
|
||||||
vlc-sandbox() { flatpak run org.videolan.VLC "$@"; }
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
# default configs
|
# default configs
|
||||||
@@ -221,5 +217,11 @@ export PATH=$JAVA_HOME/bin:$PATH
|
|||||||
# to print the date for the history command
|
# to print the date for the history command
|
||||||
setopt EXTENDED_HISTORY
|
setopt EXTENDED_HISTORY
|
||||||
|
|
||||||
|
# screen doesn't relay 24-bit color but passes COLORTERM through, so apps
|
||||||
|
# wrongly emit truecolor (blinking text, see mistral-vibe#1248).
|
||||||
|
# $STY is set only inside screen windows: this targets screen alone.
|
||||||
|
# NOTE: remove if a future screen (>= 5.x) relays truecolor.
|
||||||
|
if [ -n "$STY" ]; then unset COLORTERM; fi
|
||||||
|
|
||||||
|
|
||||||
. "$HOME/.local/bin/env"
|
. "$HOME/.local/bin/env"
|
||||||
|
|||||||
Reference in New Issue
Block a user