Skip to content

101th history line (Buffer?) always get deleted #2045

@mirror230469

Description

@mirror230469

Hi, after upgrading the profanity from v0.14.0 to v0.15.0, I cannot scroll up above the 100th history
line by pressing PAGEUP. The 101th history line keep getting deleted by profanity when new message comes in.
This is the error message in profantiy.log everytime it delete the 101th history line.

prof: WRN: Ncurses Overflow! From: muc@somexmppaddress/someusername, pos: 99, ID: some-uuid, message: > The actual message from someusername

The someusername and the actual message is from the new incoming message, not the deleted message. but it always shows pos: 99

Environment

NixOS 25.05
Profanity from nix package manager

$ profanity --version
Profanity, version 0.15.0
Copyright (C) 2012 - 2019 James Booth <[email protected]>.
Copyright (C) 2019 - 2025 Michael Vetter <[email protected]>.
License GPLv3+: GNU GPL version 3 or later <https://www.gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Build information:
XMPP library: libstrophe
Desktop notification support: Enabled
OTR support: Enabled (libotr 4.1.1)
PGP support: Enabled (libgpgme 1.24.2-unknown)
OMEMO support: Enabled
C plugins: Enabled
Python plugins: Enabled (3.12.10)
GTK icons/clipboard: Enabled
GDK Pixbuf: Enabled

dependencies:

$ # perl used to chop leading nix store hash path
$ nix path-info --json $(which profanity)  | jq -r 'to_entries[]|.value.references[]' | perl -F -lane 'print @F[44..$#F]'
libgcrypt-1.10.3-lib
qrencode-4.1.1
libnotify-0.8.6
gpgme-1.24.2
cairo-1.18.2
gtk+3-3.24.49
profanity-0.15.0
libsignal-protocol-c-2.3.3
harfbuzz-10.2.0
openssl-3.4.1
python3-3.12.10
readline-8.2p13
libgpg-error-1.51
glib-2.84.1
gdk-pixbuf-2.42.12
glibc-2.40-66
libstrophe-0.14.0
expat-2.7.1
at-spi2-core-2.56.2
libX11-1.8.12
libassuan-3.0.2
libotr-4.1.1
zlib-1.3.1
curl-8.13.0
ncurses-6.5
libXScrnSaver-1.2.4
sqlite-3.48.0
pango-1.56.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions