~mooff

Recent activity

[PATCH senpai] Switch to channel when horizontal channel list is clicked 4 months ago

From mooff to ~taiite/public-inbox

---
 app.go        | 12 +++++++++---
 ui/buffers.go | 22 ++++++++++++++++++++++
 ui/ui.go      |  4 ++++
 3 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/app.go b/app.go
index 4c63e29..e1d8216 100644
--- a/app.go
+++ b/app.go
@@ -426,9 +426,15 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
			app.win.ScrollDownBy(4)
		}
	}
[message trimmed]

[PATCH senpai] Switch to prev/next channel when scrolling over horizontal list 4 months ago

From mooff to ~taiite/public-inbox

---
 app.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app.go b/app.go
index ad0fbfd..4c63e29 100644
--- a/app.go
+++ b/app.go
@@ -408,6 +408,8 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
			app.win.ScrollChannelUpBy(4)
		} else if x > w-app.win.Config().MemberColWidth {
			app.win.ScrollMemberUpBy(4)
		} else if _, h := app.win.Size(); y == h-1 {
			app.win.PreviousBuffer()
[message trimmed]

[PATCH senpai v2] Make Ctrl-] toggle the member list, Ctrl-\ the channel list 4 months ago

From mooff to ~taiite/public-inbox

---
 app.go           | 32 ++++++++++++++++++++++++++------
 doc/senpai.1.scd |  6 ++++++
 ui/ui.go         |  4 ++++
 3 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/app.go b/app.go
index 5973986..0673392 100644
--- a/app.go
+++ b/app.go
@@ -404,9 +404,9 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
	x, y := ev.Position()
	w, _ := app.win.Size()
	if ev.Buttons()&tcell.WheelUp != 0 {
[message trimmed]

[PATCH senpai 3/3] Switch channels when click-dragging the channel column 4 months ago

From mooff to ~taiite/public-inbox

---
 app.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app.go b/app.go
index ccab3b5..84ba273 100644
--- a/app.go
+++ b/app.go
@@ -424,6 +424,7 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
	}
	if ev.Buttons()&tcell.ButtonPrimary != 0 && x < app.cfg.ChanColWidth {
		app.win.ClickBuffer(y + app.win.ChannelOffset())
		app.win.GoToBufferNo(y + app.win.ChannelOffset())
	}
[message trimmed]

[PATCH senpai 2/3] Make Ctrl-] toggle the member list, Ctrl-\ the channel list 4 months ago

From mooff to ~taiite/public-inbox

---
 app.go           | 20 ++++++++++++++++++++
 doc/senpai.1.scd |  6 ++++++
 ui/ui.go         |  4 ++++
 3 files changed, 30 insertions(+)

diff --git a/app.go b/app.go
index 5973986..ccab3b5 100644
--- a/app.go
+++ b/app.go
@@ -521,6 +521,26 @@ func (app *App) handleKeyEvent(ev *tcell.EventKey) {
		if ok {
			app.typing()
		}
[message trimmed]

[PATCH senpai 1/3] Press Ctrl-C twice on blank input to quit 4 months ago

From mooff to ~taiite/public-inbox

---
 app.go           | 7 +++++++
 doc/senpai.1.scd | 1 +
 2 files changed, 8 insertions(+)

diff --git a/app.go b/app.go
index 1144560..5973986 100644
--- a/app.go
+++ b/app.go
@@ -97,6 +97,7 @@ type App struct {

	lastMessageTime time.Time
	lastCloseTime   time.Time
	lastCtrlC       time.Time
[message trimmed]

[PATCH senpai v2] Finish registration when not using SASL 8 months ago

From mooff to ~taiite/public-inbox

From: mooff <mooff@cyberspace.baby>

We wait until after AUTHENTICATE to send CAP END like a good client,
but it needs to be sent when SASL isn't used, too.
---
 irc/session.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/irc/session.go b/irc/session.go
index ea852d7..2b9680a 100644
--- a/irc/session.go
+++ b/irc/session.go
@@ -168,6 +168,10 @@ func NewSession(out chan<- Message, params SessionParams) *Session {
	s.out <- NewMessage("NICK", s.nick)
[message trimmed]

[PATCH senpai] Send CAP END before completing registration 8 months ago

From mooff to ~taiite/public-inbox

From: mooff <mooff@cyberspace.baby>

Required by spec, InspIRCd
---
 irc/session.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/irc/session.go b/irc/session.go
index 8467f2c..31b2d0e 100644
--- a/irc/session.go
+++ b/irc/session.go
@@ -164,6 +164,7 @@ func NewSession(out chan<- Message, params SessionParams) *Session {
	for capability := range SupportedCapabilities {
		s.out <- NewMessage("CAP", "REQ", capability)
[message trimmed]

[PATCH] downstream: Start bouncer on first auth for users added out-of-process 9 months ago

From mooff to ~emersion/soju-dev

From: mooff <soju@cyberspace.baby>

---
 downstream.go | 10 +++++-----
 server.go     |  4 ++++
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/downstream.go b/downstream.go
index 2d089b0..a0d75b9 100644
--- a/downstream.go
+++ b/downstream.go
@@ -1064,11 +1064,11 @@ func (dc *downstreamConn) authenticate(username, password string) error {
		return errAuthFailed
	}
[message trimmed]