Skip to content

Commit 20d000e

Browse files
committed
v1.5.1
1 parent 0a513dc commit 20d000e

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

docs/help-ui.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
was loosely inspired by irssi and looks something like this:
44

5-
`192939 1: #g(5) h:2 a:2,3 ed, ned, ame, same, sam`
5+
`192939 1: #g(5) +9 h:2 a:2,3 ed, ned, ame, same, sam`
66

77
* according to the server, the UTC time is `19:29:39`
88

99
* you are in window `1` (the first channel you joined), which is channel `#g`, which has `5` users
1010

11+
* there is `9` more messages to see if you scroll down
12+
1113
* `h:2` you were hilighted (your name was mentioned) in window `2`; use the command **`/2`** or just press **`CTRL-E`** which takes you to the channel with the most important happening
1214

1315
* `a:2,3` activity in windows `2` and `3` which you haven't seen

r0c/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION = (1, 5, 0)
2-
BUILD_DT = (2023, 9, 18)
1+
VERSION = (1, 5, 1)
2+
BUILD_DT = (2023, 9, 19)
33

44
S_VERSION = u".".join(map(str, VERSION))
55
S_BUILD_DT = u"{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

r0c/user.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def exec_cmd(self, cmd_str):
385385
)
386386
return
387387

388-
print(" join: %s %s" % (arg, self.nick))
388+
print(" ->join: %s %s" % (arg, self.nick))
389389
nchan = self.world.join_pub_chan(self, arg[1:]).nchan
390390
# this is in charge of activating the new channel,
391391
# rapid part/join will crash us without this
@@ -404,7 +404,7 @@ def exec_cmd(self, cmd_str):
404404

405405
ac = self.active_chan
406406
ch_name = "#" + ac.nchan.name if ac.nchan.name else ac.alias
407-
print(" part: %s %s" % (ch_name, self.nick))
407+
print(" <-part: %s %s" % (ch_name, self.nick))
408408
self.world.part_chan(self.active_chan)
409409
# this is in charge of activating the new channel,
410410
# rapid part/join will crash us without this
@@ -588,6 +588,15 @@ def exec_cmd(self, cmd_str):
588588
),
589589
)
590590
self.world.send_chan_msg(u"--", inf, u"-----------------")
591+
else:
592+
for n, uch in enumerate(self.chans):
593+
nch = uch.nchan
594+
if not nch.name:
595+
continue
596+
597+
t = u"%d users in /%d #%s: " % (len(nch.uchans), n, nch.name)
598+
t += u", ".join(sorted([x.user.nick for x in nch.uchans]))
599+
self.world.send_chan_msg(u"--", inf, t)
591600

592601
elif cmd == u"a":
593602
activity = {} # type: dict[int, Chat.UChannel]

0 commit comments

Comments
 (0)