commit 078b217

hovercats  ·  2024-05-03 16:27:10 +0000 UTC
parent 1db19eb
senpai: make patch be more consistent
4 files changed,  +10, -15
+1, -1
1@@ -1,6 +1,6 @@
2 #!/bin/sh -e
3 
4-patch -p1 < top-bar.patch
5+patch -p1 < 0001-set-bar-to-be-on-top-of-the-window-instead-of-bottom.patch
6 
7 go build -a -ldflags="-w -s -extldflags '-static'" \
8     -trimpath \
+1, -1
1@@ -1,2 +1,2 @@
2 c9903285a66fd58e4a4d2784b3a632f74d7fac1857eab4025b8ef3e4a0c8f157ef
3-3419b007ac772f024ea75eb8b064f05f3270b78849996edc63ea95740c2f7e14ca
4+c7c0a2362a0e8d92ea4a6144c4f7ebe7a051ae14e6a1e2508d8568629ed0e5d3f6
+7, -12
 1@@ -1,10 +1,7 @@
 2-To: ~delthas/senpai-dev@lists.sr.ht
 3-Cc: sewn <sewn@disroot.org>
 4-Subject: [PATCH v1] Move horizontal buffer list to top instead of bottom when width is 0
 5-Date: Fri, 15 Dec 2023 22:39:28 +0300
 6-Message-ID: <20231215193929.2227-1-sewn@disroot.org>
 7-MIME-Version: 1.0
 8-Content-Transfer-Encoding: 8bit
 9+From 4850038c38a5755ef83003448d76f42ae914ee4e Mon Sep 17 00:00:00 2001
10+From: hovercats <hovercatswithlasereyes@protonmail.com>
11+Date: Fri, 3 May 2024 18:24:55 +0200
12+Subject: [PATCH] set bar to be on top of the window instead of bottom
13 
14 ---
15  app.go   |  4 ++--
16@@ -12,7 +9,7 @@ Content-Transfer-Encoding: 8bit
17  2 files changed, 10 insertions(+), 8 deletions(-)
18 
19 diff --git a/app.go b/app.go
20-index 3fe3112..4254cad 100644
21+index 9741bec..f067641 100644
22 --- a/app.go
23 +++ b/app.go
24 @@ -507,7 +507,7 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
25@@ -34,7 +31,7 @@ index 3fe3112..4254cad 100644
26  				app.win.GoToBufferNo(i)
27  			}
28 diff --git a/ui/ui.go b/ui/ui.go
29-index 05ba87f..894fdad 100644
30+index cbcef6b..ae3b491 100644
31 --- a/ui/ui.go
32 +++ b/ui/ui.go
33 @@ -475,31 +475,33 @@ func (ui *UI) Draw(members []irc.Member) {
34@@ -85,8 +82,6 @@ index 05ba87f..894fdad 100644
35  	} else {
36  		first = ui.bs.GetLeftMost(w - ui.memberWidth)
37  	}
38-
39-base-commit: 5e771831a3196f49d4417e0f913da64a251e8cb5
40 -- 
41-2.43.0
42+2.44.0
43 
+1, -1
1@@ -1,2 +1,2 @@
2 https://git.sr.ht/~taiite/senpai/archive/v0.3.0.tar.gz
3-patches/top-bar.patch
4+patches/0001-set-bar-to-be-on-top-of-the-window-instead-of-bottom.patch