summary refs log tree commit diff
path: root/ui.c
AgeCommit message (Collapse)Author
2019-02-27Add /move commandCurtis McEnroe
2019-02-26Add M-/ to switch to previously active windowCurtis McEnroe
This is also a weechat binding.
2019-02-25Move nick and tag coloring to color.cCurtis McEnroe
2019-02-25Add M-l to list the logCurtis McEnroe
2019-02-25Update tag colorsCurtis McEnroe
This kind of incurs a lot of writes usually for no reason. The only place this matters is when cold-opening a /query. I wonder if there's a better way to do that.
2019-02-25Add color to tagsCurtis McEnroe
2019-02-25Add M-a to switch to hot or unread windowCurtis McEnroe
2019-02-25Refactor uiReadCurtis McEnroe
Centralizes the branching.
2019-02-24Scroll by full pages with PageUp/PageDownCurtis McEnroe
2019-02-23Add C-n and C-p key bindings to switch windowsCurtis McEnroe
2019-02-23Call def_prog_mode after termNoFlowCurtis McEnroe
So that the settings get restored after /url or /man.
2019-02-22Move IRC formatting reset to C-sCurtis McEnroe
Opens C-n for window switching.
2019-02-22Disable terminal flow controlCurtis McEnroe
This opens up C-o, C-q and C-s for key bindings without C-v.
2019-02-22Bind up and down arrows to scrollCurtis McEnroe
Honestly it's kind of weird that IRC clients usually use these for input history.
2019-02-22Remove topic TODOCurtis McEnroe
I played around with it and it doesn't look right unless there is only one channel listed in the status.
2019-02-22Update status line after scrolling and term eventsCurtis McEnroe
2019-02-22Reorganize UI code for the umpteenth timeCurtis McEnroe
It's actually in a good state now, I think.
2019-02-21Replace "view" with "window"Curtis McEnroe
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.
2019-02-21Remove ROT13Curtis McEnroe
It's just not convenient when it can only do the whole line...
2019-01-25Avoid unused variable warnings with getyxCurtis McEnroe
2018-12-16Add M-? to apply ROT13Curtis McEnroe
2018-12-15Underline own nickCurtis McEnroe
2018-12-08Add uint typedefCurtis McEnroe
2018-12-05Rename verbose to rawCurtis McEnroe
And change the format of the sticky tag names again.
2018-12-04Revert half-working reconnecting stuffCurtis McEnroe
2018-12-03Call uiShow at init so that TermFocus gets setCurtis McEnroe
2018-12-02Fix UI resume on /urlCurtis McEnroe
2018-12-01Crudely handle reconnecting after suspendCurtis McEnroe
2018-11-29Show unread count in term titleCurtis McEnroe
Also render status line with just spaces. Looks much cleaner this way.
2018-11-27Add M-m key to insert a blank lineCurtis McEnroe
For manually marking the log.
2018-10-28Add notification with notify-sendCurtis McEnroe
2018-10-22Rework status lineCurtis McEnroe
2018-09-14Factor out uiPrompt to call on nick changeCurtis McEnroe
2018-09-14Check width of entire next word including codesCurtis McEnroe
This results in a tiny bit of premature wrapping for color codes, but that isn't a problem.
2018-09-14Remove word handling from formatParseCurtis McEnroe
2018-09-13Preview with nick in input windowCurtis McEnroe
2018-09-13Avoid uninitialized x in uiReadCurtis McEnroe
2018-09-13Add IRCDefault to colors enumCurtis McEnroe
2018-09-13Rewrite UI againCurtis McEnroe
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.
2018-09-12Use formatParse split to position input cursorCurtis McEnroe
2018-09-12Factor out IRC formatting parsingCurtis McEnroe
2018-09-05Preserve scroll position when new lines appearCurtis McEnroe
2018-09-02Use PascalCase for constantsCurtis McEnroe
Begone underscores.
2018-09-02Add status indicatorsCurtis McEnroe
2018-09-02Mark views when they are createdCurtis McEnroe
2018-08-20Avoid unportable iswascii(3)Curtis McEnroe
2018-08-17Add UI "heat" for status/messages/pingsCurtis McEnroe
Bring back the beeps! Allow pings from notices. Also factor out dequoting of part/quit messages.
2018-08-13Set title to tag nameCurtis McEnroe
2018-08-13Add /query, /part and /closeCurtis McEnroe
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.
2018-08-12Avoid setting mark if switching to the same viewCurtis McEnroe