Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make vertical channel list scrollable | delthas | 2021-10-31 | 2 | -9/+33 | |
| | | | | Seems like I really have too many channels... :) | |||||
* | Sync screen during resize | Hubert Hirtz | 2021-10-27 | 1 | -0/+1 | |
| | | | | For CtrlL to actually refresh the screen. | |||||
* | Scroll up/down highlight by highlight | Hubert Hirtz | 2021-10-26 | 2 | -0/+38 | |
| | ||||||
* | timeline drawing: fix off-by-one error | Hubert Hirtz | 2021-10-26 | 1 | -6/+2 | |
| | ||||||
* | status bar drawing: fix off-by-one error | Hubert Hirtz | 2021-10-26 | 1 | -7/+1 | |
| | ||||||
* | Support for soju.im/bouncer-networks | Hubert Hirtz | 2021-10-24 | 2 | -25/+81 | |
| | | | | | | | | | | | | | | | This patch also disable the highlight on reconnect. This might be an issue (the user would want to know when senpai is online again?), but with multiple connections, it's bothersome to have to unread all of them on start (it wasn't a problem with only one connection since it was read instantly). Now, lastbuffer.txt also contains the network ID, otherwise the user might end up on another buffer with the same name. This patch does not extend /r to support multiple networks (it will send the message to the latest query, whatever the current displayed network is). | |||||
* | Make use of away-notify | Hubert Hirtz | 2021-10-23 | 1 | -2/+10 | |
| | ||||||
* | Rework vertical lists | Hubert Hirtz | 2021-10-22 | 3 | -37/+43 | |
| | ||||||
* | Fix ui.StyledStringBuilder | Hubert Hirtz | 2021-10-22 | 2 | -4/+31 | |
| | ||||||
* | Cleanup drawVerticalMemberList | Hubert Hirtz | 2021-10-19 | 2 | -35/+31 | |
| | ||||||
* | Only show buffer numbers when necessary | Hubert Hirtz | 2021-10-19 | 3 | -16/+22 | |
| | | | | | | Saves space also removed non-edition related method IsCommand out of editor.go | |||||
* | Fix horizontal channel bar drawing | Hubert Hirtz | 2021-09-13 | 2 | -1/+5 | |
| | ||||||
* | More lints | Hubert Hirtz | 2021-09-13 | 3 | -14/+14 | |
| | ||||||
* | Random code improvements/tidying | Hubert Hirtz | 2021-09-11 | 2 | -3/+1 | |
| | ||||||
* | Fix typos | Hubert Hirtz | 2021-09-11 | 1 | -4/+4 | |
| | ||||||
* | Fix line wrapping not working on history | Hubert Hirtz | 2021-09-08 | 1 | -0/+7 | |
| | ||||||
* | Use messageBounds for infinite scroll CHATHISTORY requests | Hubert Hirtz | 2021-09-03 | 2 | -13/+0 | |
| | ||||||
* | Don't show the member list by default | Hubert Hirtz | 2021-09-01 | 1 | -1/+3 | |
| | ||||||
* | Channel list is horizontal by default | Hubert Hirtz | 2021-09-01 | 2 | -7/+61 | |
| | ||||||
* | Fetch missed messages on reconnect | Hubert Hirtz | 2021-09-01 | 2 | -42/+13 | |
| | | | | just one step closer to proper CHATHISTORY support!! :=D ^v^ | |||||
* | Remove outdated UI tests | Hubert Hirtz | 2021-08-07 | 1 | -20/+0 | |
| | | | | IRC formatting is now handled prior to word wrapping. | |||||
* | Introduce backsearch message support with ctrl+R | delthas | 2021-08-07 | 2 | -8/+123 | |
| | | | | Fixes: #47 | |||||
* | ui: fix editor tests | Alexey Yerin | 2021-08-06 | 1 | -5/+10 | |
| | ||||||
* | Enable scrolling through the vertical member list with the mouse wheel | delthas | 2021-08-06 | 2 | -7/+45 | |
| | ||||||
* | Make buffers indexed, and refer to indexes with /BUFFER | delthas | 2021-07-15 | 1 | -1/+9 | |
| | | | | Fixes: #29 | |||||
* | ui: Introduce a vertical member list on channels | delthas | 2021-07-14 | 3 | -30/+60 | |
| | | | | | | | | Also, fix the UI timeline clearing too much, as well as the status line. Also, remove the width in the editor and buffer list constructors. We were initializing them with wrong values, only to overwrite these values with correct ones later in Resize(). | |||||
* | Add notify types for fine-grained control of unread/highlight state | delthas | 2021-07-14 | 2 | -5/+13 | |
| | | | | | | | | Namely, we want the unread light to show up only on actual messages, not commands etc. This opens the way for not showing an unread light when printing topic on join. | |||||
* | Don't send typing=done when input is already empty | Hubert Hirtz | 2021-07-13 | 2 | -5/+5 | |
| | ||||||
* | Switch to the buffer of a new user-requested channel join | delthas | 2021-07-13 | 2 | -7/+14 | |
| | ||||||
* | Clear the input on CTRL+C instead of quitting | delthas | 2021-07-13 | 2 | -0/+16 | |
| | | | | | | | | We have /QUIT for quitting. Most well-known IRC clients don't quit on CTRL+C but they do on QUIT. Clearing the editor input on CTRL+C is useful for shell-like behaviour "abort current line, let me start my line again". | |||||
* | Ignore case when searching for a /BUFFER | delthas | 2021-07-12 | 1 | -1/+2 | |
| | | | | Best-effort regular casemapping, not the IRC session's one. :P | |||||
* | Do not print empty rows | Hubert Hirtz | 2021-07-11 | 1 | -0/+4 | |
| | | | | | If a message contains a sequence of spaces/tabs that is wider than the terminal, do not print an empty row. | |||||
* | ui: don't mark // in input as a command | Alexey Yerin | 2021-07-08 | 1 | -1/+5 | |
| | | | | | | | | | Prior to this, IsCommand was returning true for inputs starting with two slashes and thus showing ">"-prompt. This is a possible confusion (and unwanted behaviour) because the user might think that they are writing a command but in fact, the message would be sent verbatim (excluding first slash). | |||||
* | Pick nick colors in terminal color scheme | Hubert Hirtz | 2021-05-26 | 6 | -275/+367 | |
| | | | | So that the colors go well with the terminal background. | |||||
* | Fix ui tests | Hubert Hirtz | 2021-05-25 | 2 | -14/+14 | |
| | ||||||
* | ui/editor: add boundary checks for word actions | Alexey Yerin | 2021-05-17 | 1 | -3/+3 | |
| | | | | | Prior to this, if the input is spaced out (whitespace skip), word movements caused senpai to crash because there were no boundary checks. | |||||
* | Properly show cursor on two-width characters | Hubert Hirtz | 2021-05-11 | 1 | -8/+2 | |
| | ||||||
* | go fmt | Hubert Hirtz | 2021-05-11 | 1 | -3/+2 | |
| | ||||||
* | Make mouse support optional | Alexey Yerin | 2021-04-28 | 1 | -1/+4 | |
| | | | | | | To not break existing users, mouse is enabled by default but you have an option to disable it with "mouse: false" in your /.confg/senpai/senpai.yaml. | |||||
* | editor: Ctrl+{Right,Left} moves cursor by words | Alexey Yerin | 2021-04-27 | 2 | -0/+39 | |
| | | | | | 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 buffer | Alexey Yerin | 2021-04-27 | 1 | -0/+12 | |
| | | | | | Is is very useful when you have joined a bunch of channels and scrolling with Ctrl+n/Ctrl+p is quite inefficient. | |||||
* | Fix duplicate lines when scrolling up | Hubert Hirtz | 2021-04-27 | 1 | -1/+21 | |
| | ||||||
* | Blacklist more colors | Hubert Hirtz | 2021-04-27 | 1 | -1/+3 | |
| | ||||||
* | editor: add ^W delete word binding | Alexey Yerin | 2021-04-26 | 2 | -0/+34 | |
| | | | | | | | | | | 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 | |||||
* | Support cycling backward in auto-completions | Hubert Hirtz | 2021-03-04 | 2 | -7/+5 | |
| | ||||||
* | Do not use dim styles on the buffer list | Hubert Hirtz | 2021-03-04 | 1 | -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 | |||||
* | Fix random crash on startup | Hubert Hirtz | 2021-01-07 | 1 | -2/+2 | |
| | | | | The .exit value would be read before it was initialized. | |||||
* | Move editor view when completing text | Hubert Hirtz | 2020-11-13 | 1 | -0/+6 | |
| | ||||||
* | Fix click colors on highlighted channel | Hubert Hirtz | 2020-11-08 | 1 | -1/+1 | |
| | ||||||
* | Handle Alt-Home and Alt-End | Hubert Hirtz | 2020-11-07 | 1 | -1/+4 | |
| | | | | To navigate to the first/last buffer |