From bd1c400a27f01c9870756f7205d2993a542bf098 Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 11 Oct 2026 00:56:12 +0200 Subject: [PATCH] TUI: add TuiPaste event class omitted from paste commit Selective staging after the banner commit shifted hunk offsets and this hunk fell outside the cutoff. It completes the previous commit: without it the paste path references a missing name. --- tai.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tai.py b/tai.py index b4a5668..76d2d38 100755 --- a/tai.py +++ b/tai.py @@ -8760,6 +8760,10 @@ class TuiClose(TuiEvent): name = "close" +class TuiPaste(TuiEvent): + name = "paste" + + def tui_int(value, default=0): try: return int(value)