Adding patch to remove visual clutter by avoiding last-line branding in output.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
57137f4a49
commit
514ce6bfdb
2 changed files with 19 additions and 0 deletions
18
debian/patches/debian/0001-branding.patch
vendored
Normal file
18
debian/patches/debian/0001-branding.patch
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Description: Remove dunk version line to reduce visual clutter.
|
||||
|
||||
diff -Naurp dunk.orig/dunk/dunk.py dunk/dunk/dunk.py
|
||||
--- dunk.orig/dunk/dunk.py
|
||||
+++ dunk/dunk/dunk.py
|
||||
@@ -406,11 +406,6 @@ def _run_dunk():
|
||||
# TODO: File name indicator at bottom of file, if diff is larger than terminal height.
|
||||
console.rule(style="border", characters="▔")
|
||||
|
||||
- console.print(
|
||||
- Align.right(
|
||||
- f"[blue]/[/][red]/[/][green]/[/] [dim]dunk {dunk.__version__}[/] "
|
||||
- )
|
||||
- )
|
||||
# console.save_svg("dunk.svg", title="Diff output generated using Dunk")
|
||||
|
||||
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/0001-branding.patch
|
Loading…
Add table
Add a link
Reference in a new issue