summary refs log tree commit diff
path: root/ui.c (follow)
Commit message (Collapse)AuthorAge
* Call def_prog_mode after termNoFlowJune McEnroe2019-02-23
| | | | So that the settings get restored after /url or /man.
* Move IRC formatting reset to C-sJune McEnroe2019-02-22
| | | | Opens C-n for window switching.
* Disable terminal flow controlJune McEnroe2019-02-22
| | | | This opens up C-o, C-q and C-s for key bindings without C-v.
* Bind up and down arrows to scrollJune McEnroe2019-02-22
| | | | | Honestly it's kind of weird that IRC clients usually use these for input history.
* Remove topic TODOJune McEnroe2019-02-22
| | | | | I played around with it and it doesn't look right unless there is only one channel listed in the status.
* Update status line after scrolling and term eventsJune 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.
* Remove ROT13June McEnroe2019-02-21
| | | | It's just not convenient when it can only do the whole line...
* Avoid unused variable warnings with getyxJune McEnroe2019-01-25
|
* Add M-? to apply ROT13June McEnroe2018-12-16
|
* Underline own nickJune McEnroe2018-12-15
|
* Add uint typedefJune McEnroe2018-12-08
|
* Rename verbose to rawJune McEnroe2018-12-05
| | | | And change the format of the sticky tag names again.
* Revert half-working reconnecting stuffJune McEnroe2018-12-04
|
* Call uiShow at init so that TermFocus gets setJune McEnroe2018-12-03
|
* Fix UI resume on /urlJune McEnroe2018-12-02
|
* Crudely handle reconnecting after suspendJune McEnroe2018-12-01
|
* Show unread count in term titleJune McEnroe2018-11-29
| | | | Also render status line with just spaces. Looks much cleaner this way.
* Add M-m key to insert a blank lineJune McEnroe2018-11-27
| | | | For manually marking the log.
* Add notification with notify-sendJune McEnroe2018-10-28
|
* Rework status lineJune McEnroe2018-10-22
|
* Factor out uiPrompt to call on nick changeJune McEnroe2018-09-14
|
* Check width of entire next word including codesJune McEnroe2018-09-14
| | | | | This results in a tiny bit of premature wrapping for color codes, but that isn't a problem.
* Remove word handling from formatParseJune McEnroe2018-09-14
|
* Preview with nick in input windowJune McEnroe2018-09-13
|
* Avoid uninitialized x in uiReadJune McEnroe2018-09-13
|
* Add IRCDefault to colors enumJune McEnroe2018-09-13
|
* Rewrite UI againJune McEnroe2018-09-13
| | | | | | The persistent topic is gone and the status line is now at the top. The status formatting still needs to be reworked. I also want to try showing the nick in the input window so it really looks like your next message.
* Use formatParse split to position input cursorJune McEnroe2018-09-12
|
* Factor out IRC formatting parsingJune McEnroe2018-09-12
|
* Preserve scroll position when new lines appearJune McEnroe2018-09-05
|
* Use PascalCase for constantsJune McEnroe2018-09-02
| | | | Begone underscores.
* Add status indicatorsJune McEnroe2018-09-02
|
* Mark views when they are createdJune McEnroe2018-09-02
|
* Avoid unportable iswascii(3)June McEnroe2018-08-20
|
* 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.
* Set title to tag nameJune McEnroe2018-08-13
|
* 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.
* Avoid setting mark if switching to the same viewJune McEnroe2018-08-12
|
* Disable focus tracking in uiHideJune McEnroe2018-08-12
| | | | | Most significantly so that the sequences don't end up on screen during a /url.
* Add shift-{left,right} for single-line scrollingJune McEnroe2018-08-11
|
* Leave room for topic when creating viewJune McEnroe2018-08-11
|
* 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.
* Become multi-channelJune McEnroe2018-08-10
| | | | There's a lot of UI missing for it, but it technically works.
* Add URL detection, listing and openingJune McEnroe2018-08-09
| | | | Might also add /copy, like /open.
* Use blank line as unread markerJune McEnroe2018-08-08
|
* Add markers as lines to the logJune McEnroe2018-08-08
|
* Factor out line editing to edit.cJune McEnroe2018-08-08
|
* Set log marker on FocusOut eventJune McEnroe2018-08-08
| | | | | All of this needs refactoring, probably separating the line editing out from the actual input handling.