From Lauri Tirkkonen to ~delthas/senpai-dev
before ffb806d777cb0123d276f0c03463fa0fdda1a4ae, both Shift+Backspace and Ctrl+Backspace acted as "erase previous character", but since then Backspace does nothing if modified by Shift or Ctrl. I find that I often try to backspace while still having Shift held down from a previous character I typed, so make Shift+Backspace work as it did previously. --- app.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.go b/app.go index ea96281..87f8f6a 100644 --- a/app.go +++ b/app.go @@ -747,6 +747,10 @@ func (app *App) handleKeyEvent(ev vaxis.Key) { [message trimmed]
From Lauri Tirkkonen to ~delthas/senpai-dev
On Mon, Jul 08 2024 14:12:32 +0900, Lauri Tirkkonen wrote: > Updated patch that works with latest senpai master. I sent the previous patch by mistake. Here's the one I meant to send. --- config.go | 14 ++++++++++++++ doc/senpai.5.scd | 2 ++ ui/colors.go | 6 ++++++ 3 files changed, 22 insertions(+) diff --git a/config.go b/config.go index 3b6c40b..b899119 100644 --- a/config.go [message trimmed]
From Lauri Tirkkonen to ~delthas/senpai-dev
On Sat, Jun 01 2024 11:48:41 +0900, Lauri Tirkkonen wrote:
> On Fri, Jan 05 2024 19:34:40 +0900, Lauri Tirkkonen wrote:
> > this allows users to specify their own custom color scheme with as many
> > colors as they like.
>
> some background: I use this with the following config because I find
> "extended" scheme has too few colors; collisions happen often.
>
> colors {
> nicks custom 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 96 97 98 99 100 101 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 132 133 134 135 136 137 138 139 140 141 142 143 148 149 150 151 152 153 154 155 156 157 158 159 160 161 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 191 192 193 194 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
> }
Updated patch that works with latest senpai master.
[message trimmed]
From Lauri Tirkkonen to ~delthas/senpai-dev
vaxis doesn't implement DisableMouse(), instead requiring an option at init time --- ui/ui.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/ui.go b/ui/ui.go index 801ee99..77e5a55 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -73,13 +73,10 @@ func New(config Config) (ui *UI, err error) { return } [message trimmed]
From Lauri Tirkkonen to ~rockorager/vaxis
senpai no longer reacts to Shift+Left/Shift+Right for me after it was updated to use vaxis-tcell, because it doesn't detect the shift modifier any more. this fixes that. --- tcell.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/tcell.go b/tcell.go index 0f59f63..dd2fc7f 100644 --- a/tcell.go +++ b/tcell.go @@ -61,9 +61,6 @@ func TcellKey(vx vaxis.Key) *EventKey { if vx.Modifiers&vaxis.ModHyper != 0 { ev.mod |= ModSuper [message trimmed]
From Lauri Tirkkonen to ~delthas/senpai-dev
senpai no longer reacts to Shift+Left/Shift+Right for me after it was updated to use vaxis-tcell, because it doesn't detect the shift modifier any more. this fixes that. --- tcell.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/tcell.go b/tcell.go index 0f59f63..dd2fc7f 100644 --- a/tcell.go +++ b/tcell.go @@ -61,9 +61,6 @@ func TcellKey(vx vaxis.Key) *EventKey { if vx.Modifiers&vaxis.ModHyper != 0 { ev.mod |= ModSuper [message trimmed]
From Lauri Tirkkonen to ~delthas/senpai-dev
On Fri, Jan 05 2024 19:34:40 +0900, Lauri Tirkkonen wrote: > this allows users to specify their own custom color scheme with as many > colors as they like. some background: I use this with the following config because I find "extended" scheme has too few colors; collisions happen often. colors { nicks custom 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 96 97 98 99 100 101 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 132 133 134 135 136 137 138 139 140 141 142 143 148 149 150 151 152 153 154 155 156 157 158 159 160 161 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 191 192 193 194 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 } -- Lauri Tirkkonen | lotheac @ IRCnet
From Lauri Tirkkonen to ~delthas/senpai-dev
Pinging on this one as well. Is this desired? I think it's useful to know who makes changes to channels, as that's sort of communication too. Mode changes also don't show who made them at the moment, but if this patch is accepted I could probably follow up with similar for mode changes. -- Lauri Tirkkonen | lotheac @ IRCnet
From Lauri Tirkkonen to ~delthas/senpai-dev
On Fri, Jan 05 2024 19:34:40 +0900, Lauri Tirkkonen wrote: > this allows users to specify their own custom color scheme with as many > colors as they like. Ping on above.
From Lauri Tirkkonen to ~delthas/senpai-dev
--- app.go | 3 ++- irc/events.go | 1 + irc/session.go | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app.go b/app.go index d4c58ef..0d5e8bd 100644 --- a/app.go +++ b/app.go @@ -1321,7 +1321,8 @@ func (app *App) formatEvent(ev irc.Event) ui.Line { } case irc.TopicChangeEvent: topic := ui.IRCString(ev.Topic).String() [message trimmed]