#2706·prek

Progress mode messed up in some terminals

Author: calliecameronCreated Sep 10, 2026Updated Sep 12, 2026
Labelsterminal

Before submitting

  • I have searched the issue list for similar bug reports.

Summary

In the terminal I use (emacs-eat), progress display is slow (the cursor jumps around a lot, and takes a while to catch up once prek is finished) and sometimes glitchy (line breaks get lost, output lines get lost or are displayed when they shouldn't be). Based on issues with other TUI apps, I suspect this may be because the terminal doesn't support DECSET 2026 (https://codeberg.org/akib/emacs-eat/issues/268).

While waiting for that to be fixed, the only workaround is to run prek with --no-progress, which hides progress output altogether. It would be great to have another option for a sort of in-between mode, that shows progress but without relying on fancy terminal features, like pre-commit does. Pre-commit doesn't have the same display issues, and its progress output is displayed just fine.

Platform

NixOS x86_64

Version (current: 0.5.2)

0.5.2

.pre-commit-config.yaml

Not relevant

Log file

Not relevant