Package: powerline-go
Version: 1.26-2
Severity: minor

Dear Maintainer,

When applied the last patch hide the four first characters of my command.

The workaround I found is to add the option `-mode flat` at the command line in the `.bashrc`.

For example:

```
# Set fancy prompt
function _update_ps1() {
PS1="$(powerline-go -mode flat -cwd-max-depth 2 -hostname-only-if-ssh -git-mode "compact" -error $?)"
    # Explicitly clear background / reset attributes at the very end
    PS1="$PS1\[\e[0m\] "
}
if [ "$TERM" != "linux" ] && [ -f "$(which powerline-go)" ]; then
    PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
```

Without the `-mode flat` I cannot see the four first characters I am typing.

I marked this as 'minor' as I found a quick workaround and it does not break the entire package. But, this is quite annoying when it occurs.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.13+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages powerline-go depends on:
ii  libc6  2.43-5

Versions of packages powerline-go recommends:
ii  fonts-powerline  2.8.4-2

powerline-go suggests no packages.

-- no debconf information

Reply via email to