summary refs log tree commit diff
path: root/input.c (follow)
Commit message (Collapse)AuthorAge
* Share a cut buffer between all edit buffersJune McEnroe2022-02-20
|
* Move mbs out of struct Edit, use a global bufferJune McEnroe2022-02-20
| | | | | | | | This saves 4K in the edit buffers, not to mention all the heap allocations for the separate mbs buffers! There might be a way to be more clever about capacities, but I don't think it's worth it.
* Clear edit buffer before running commandJune McEnroe2022-02-20
| | | | | | Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator.
* Show indicator in status when window has pending inputJune McEnroe2022-02-20
|
* Use separate edit buffers for each IDJune McEnroe2022-02-20
|
* Reimplement tab completeJune McEnroe2022-02-19
|
* Handle errors from editFn, etc.June McEnroe2022-02-19
|
* Reimplement text macrosJune McEnroe2022-02-19
|
* Factor out input handling to input.cJune McEnroe2022-02-19
|
* Remove legacy codeJune McEnroe2020-02-11
|
* Add restricted modeJune McEnroe2019-09-16
|
* Add /listJune McEnroe2019-07-02
|
* Clean up input parameter handlingJune McEnroe2019-07-02
|
* Split /raw and /quoteJune McEnroe2019-07-02
| | | | /quote is common in other IRC clients.
* Add optional key to /joinJune McEnroe2019-07-02
|
* Add /move commandJune McEnroe2019-02-27
|
* Move nick and tag coloring to color.cJune McEnroe2019-02-25
|
* Add color to tagsJune McEnroe2019-02-25
|
* Use first word of params in input commandsJune McEnroe2019-02-23
| | | | | Prevents anything weird from happening when tab-completing, which inserts a space.
* Add C-n and C-p key bindings to switch windowsJune McEnroe2019-02-23
|
* Add /znc commandJune McEnroe2019-02-22
| | | | Only because ZNC tells you to use it and expects it to work.
* Reorganize input.cJune McEnroe2019-02-22
|
* Reorganize UI code for the umpteenth timeJune McEnroe2019-02-22
| | | | It's actually in a good state now, I think.
* Replace "view" with "window"June McEnroe2019-02-21
| | | | | | | I think originally I didn't want to use the same word as curses WINDOW but it's really much clearer for the user if they're just called windows. UI code probably needs yet another rewrite though. Still feels messy.
* Typedef function types, not pointersJune McEnroe2018-12-30
|
* Factor out ircQuitJune McEnroe2018-12-14
|
* Add /raw commandJune McEnroe2018-12-05
|
* Send input errors to the current tagJune McEnroe2018-12-05
|
* Rename verbose to rawJune McEnroe2018-12-05
| | | | And change the format of the sticky tag names again.
* Show error if disconnected unintentionallyJune McEnroe2018-12-04
|
* Revert half-working reconnecting stuffJune McEnroe2018-12-04
|
* Crudely handle reconnecting after suspendJune McEnroe2018-12-01
|
* Add basic log replayJune McEnroe2018-11-29
|
* Add /whoisJune McEnroe2018-11-29
|
* Rename project catgirlJune McEnroe2018-11-27
| | | | This simplifies things.
* Use const char *argv[] signaturesJune McEnroe2018-10-28
| | | | C is really weird about this stuff, but this makes more sense to me.
* Never send PRIVMSG to TagStatus or TagVerboseJune McEnroe2018-09-13
|
* Add /help equivalent to /manJune McEnroe2018-09-11
|
* Add urlOpenMatchJune McEnroe2018-09-11
|
* Add /man commandJune McEnroe2018-09-10
|
* Use PascalCase for constantsJune McEnroe2018-09-02
| | | | Begone underscores.
* Accept unique prefixes of commandsJune McEnroe2018-08-18
|
* Fix /query error handlingJune McEnroe2018-08-18
| | | | | Evidence this should be factored somehow else so the extra check is unnecessary.
* Alias /n to /view n where n is a numberJune McEnroe2018-08-18
|
* Add UI "heat" for status/messages/pingsJune McEnroe2018-08-17
| | | | | Bring back the beeps! Allow pings from notices. Also factor out dequoting of part/quit messages.
* Don't treat input as command if word contains extra slashJune McEnroe2018-08-16
|
* Add /query, /part and /closeJune McEnroe2018-08-13
| | | | | Closing a channel before parting it is a bit weird, but if I send a PART on /close, it would get reopened again to show the part message.
* Factor out input param and add tagFindJune McEnroe2018-08-12
| | | | So that /view can't just invent tags.
* Fix /open ranges by passing all URLs to open(1)June McEnroe2018-08-12
| | | | | This is going to be incompatible with xdg-open since it takes only one URL at a time. Write a wrapper script.
* Rework UI code for multi-channelJune McEnroe2018-08-11
| | | | | | | | | | | | | | | | | | | | | | Tags are now permanently assigned (and I'm betting on never needing more than 256 of them) and the UI maps tags to a linked list of views for easy reordering and removal. Currently, views can only be added. Views don't have a topic window until they need one. All UI code wants to be functional reactive. Beeping is temporarily removed until message priorities (status, message, ping) can be added to the UI. At that point spawning notify-send should also be possible. Priorities will also help with unnecessary markers, which will not appear for status messages. The tab system is now used to send QUIT and NICK messages to all the relevant tags. Verbose output now goes to its own tag, and sending to it sends raw IRC. IRC colors are now listed in chat.h and handler functions for numeric replies have real names. The color algorithm now uses a real hash function for hopefully better results. QUIT, PART and KICK messages are scanned for URLs.