summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* editor: Ctrl+{Right,Left} moves cursor by wordsAlexey Yerin2021-04-273-0/+43
| | | | | A very useful readline feature when combined with ^W can be a really quick way to reformat a sentence, which is what I do on IRC quite often.
* Add BUFFER command to jump to the matching bufferAlexey Yerin2021-04-273-0/+32
| | | | | Is is very useful when you have joined a bunch of channels and scrolling with Ctrl+n/Ctrl+p is quite inefficient.
* senpai.5: fix typoAlexey Yerin2021-04-271-1/+1
|
* Fix duplicate lines when scrolling upHubert Hirtz2021-04-272-1/+30
|
* Add option to disable sending typing notificationsHubert Hirtz2021-04-273-2/+8
|
* Revert back to tcell 2.2.0Hubert Hirtz2021-04-272-3/+3
| | | | | | | | | tcell 2.2.1 has a bug [0][1][2] that made senpai need a keypress after Ctrl-C was hit. [0] https://github.com/gdamore/tcell/issues/452 [1] https://github.com/gdamore/tcell/pull/454 [2] https://github.com/gdamore/tcell/commit/7694d9082153d3ddfc0ca0815731e1a093321ac1
* Blacklist more colorsHubert Hirtz2021-04-271-1/+3
|
* Split long messages before sending themHubert Hirtz2021-04-271-1/+44
| | | | | | | | avoids silent truncations. Also consider the LINELEN ISUPPORT token: - https://defs.ircdocs.horse/defs/isupport.html - http://rabbit.dereferenced.org/~nenolod/ircv3-harmony/id-wpitcock-ircv3-core.html#rfc.section.3.8.2.1.17
* Split the "feature" map into specific attributesHubert Hirtz2021-04-271-16/+23
|
* deps: update tcell and runewidthHubert Hirtz2021-04-272-11/+12
|
* cmd/test: load useTLS from the configAlexey Yerin2021-04-261-1/+1
|
* senpai.5: document no-tls and debug config optionsAlexey Yerin2021-04-261-0/+7
|
* editor: add ^W delete word bindingAlexey Yerin2021-04-263-0/+40
| | | | | | | | | | It allows to delete the current word (any string of characters until a space). Also, all spaces at the start are cleared to allow doing something like: Hello world| Hello | <- the cursor is at a space | <- nothing left
* Don't show own typing notificationsHubert Hirtz2021-04-261-1/+1
|
* Add PHONY Makefile targetsGalen Abell2021-03-251-0/+2
|
* Add MakefileMarten Ringwelski2021-03-161-0/+33
|
* docs: Fix typoMarten Ringwelski2021-03-161-1/+1
|
* Fix segmentation fault when the server is downHubert Hirtz2021-03-051-8/+13
|
* Support cycling backward in auto-completionsHubert Hirtz2021-03-043-8/+11
|
* Do not use dim styles on the buffer listHubert Hirtz2021-03-041-3/+3
| | | | | | | Reverse + Dim is not rendered the same way across terminals. For example, - alacritty shows black text on gray background - kitty shows gray text on white background
* Better connection managementHubert Hirtz2021-03-042-69/+170
| | | | | | - Send keepalives - Reconnect when the connection is lost - Set timeout for write operations
* Add senpai to .gitignoreSimon Ser2021-02-241-0/+1
|
* mv cmd/irc cmd/senpaiSimon Ser2021-02-242-1/+1
| | | | | Allows to `go build ./cmd/senpai` without having to specify -o. Also more consistent with how cmd/ is used in the Go ecosystem.
* Add a no-tls option to configHubert Hirtz2021-02-212-2/+8
|
* Fix command argument parsingHubert Hirtz2021-02-181-13/+19
|
* Add the QUIT commandHubert Hirtz2021-02-183-3/+36
|
* Recognize beginning of commandsHubert Hirtz2021-02-181-2/+18
| | | | allows to only type the beginning of a command, like "/t" for "/topic".
* Fix random crash on startupHubert Hirtz2021-01-071-2/+2
| | | | The .exit value would be read before it was initialized.
* Chathistory: don't send invalid timestampsHubert Hirtz2021-01-061-2/+2
|
* Show connection failure reasonHubert Hirtz2020-11-301-2/+2
|
* Show command output on failureHubert Hirtz2020-11-301-3/+4
|
* Move configuration defaults to config.goHubert Hirtz2020-11-302-10/+13
|
* Make cmd/test usableHubert Hirtz2020-11-294-50/+86
|
* Don't forward outdated typing timeoutsHubert Hirtz2020-11-231-2/+10
| | | | | | The channel might have been parted, or the user might have parted from the channel before receiving the timeout from Typings, thus causing a segfault.
* Polish the test clientHubert Hirtz2020-11-231-12/+77
|
* Document irc/typing.goHubert Hirtz2020-11-231-4/+11
|
* Cleanly stop all coroutines on irc.Session.StopHubert Hirtz2020-11-232-5/+19
| | | | | This fixes a panic when irc.Session.handle is called with an empty message.
* Document the IRC libraryHubert Hirtz2020-11-212-27/+86
|
* Only send the SelfJoinEvent when channel info is completeHubert Hirtz2020-11-201-1/+9
|
* Consider the CASEMAPPING isupport tokenHubert Hirtz2020-11-192-2/+25
| | | | | | Using RFC1459 as a default since servers not advertising this token are likely to be pre-IRCv2, thus following the casemapping described in the RFCs.
* Consider the CHANTYPES isupport tokenHubert Hirtz2020-11-191-1/+5
|
* Basic display of errorsHubert Hirtz2020-11-194-5/+80
|
* Add completion for /msgHubert Hirtz2020-11-193-0/+47
|
* Move editor view when completing textHubert Hirtz2020-11-131-0/+6
|
* /topic completionHubert Hirtz2020-11-132-30/+77
|
* Don't autocomplete on empty wordHubert Hirtz2020-11-131-0/+3
|
* Document functions in app.goHubert Hirtz2020-11-131-0/+18
|
* Fix prompt not being updated on clickHubert Hirtz2020-11-131-0/+1
|
* Fix click colors on highlighted channelHubert Hirtz2020-11-081-1/+1
|
* Handle Alt-Home and Alt-EndHubert Hirtz2020-11-073-25/+37
| | | | To navigate to the first/last buffer