alacritty: Duplicated lines on window maximisation
Fedora 31 with Sway git (352a3e1f) and alacritty HEAD as of today (24651a6). Switching window between FS and windowed several times gives a duplicated line each time, with the result: For reference my PS1 is
__git_ps1 () {
local b="$(git symbolic-ref HEAD 2>/dev/null)";
if [ -n "$b" ]; then
printf " (%s)" "${b##refs/heads/}";
fi
}
function prompt {
local WHITE="\[\033[1;37m\]"
local GREEN="\[\033[0;32m\]"
local CYAN="\[\033[0;36m\]"
local GRAY="\[\033[0;37m\]"
local BLUE="\[\033[0;34m\]"
local YELLOW="\[\033[1;33m\]"
export PS1="${YELLOW}[\$(date +'%a %l:%M%p')]${WHITE} \u@$(hostname -s)${GREEN}"'$(__git_ps1 "(%s) ") '"${WHITE}\w/\$ "
}
prompt
Possibly duplicate of #1668 but this is a different platform and shell so posted a new bug. Thanks!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (11 by maintainers)
Commits related to this issue
- Fix incorrect cell foreground when clearing screen This fixes a bug that would clear the cells with the current template cell with just the `flags` reset, to make sure the colors are correct. However... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Fix incorrect cell foreground when clearing screen This fixes a bug that would clear the cells with the current template cell with just the `flags` reset, to make sure the colors are correct. However... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Fix incorrect cell foreground when clearing screen This fixes a bug that would clear the cells with the current template cell with just the `flags` reset, to make sure the colors are correct. Howev... — committed to alacritty/alacritty by chrisduerr 5 years ago
- Fix incorrect cell foreground when clearing screen This fixes a bug that would clear the cells with the current template cell with just the `flags` reset, to make sure the colors are correct. Howev... — committed to roychoo/alacritty by chrisduerr 5 years ago
Fix works a treat, thanks!