summary refs log tree commit diff
path: root/ui.c
AgeCommit message (Collapse)Author
2020-02-09Add The Scroll BarC. McEnroe
2020-02-09Implement scrolling!C. McEnroe
2020-02-09Add M-/C. McEnroe
2020-02-09Add M-aC. McEnroe
2020-02-09Add C-n and C-pC. McEnroe
2020-02-09Add C-yC. McEnroe
This is weechat's binding for it.
2020-02-09Add C-w and M-dC. McEnroe
2020-02-09Rename kill opsC. McEnroe
2020-02-09Add M-b and M-fC. McEnroe
2020-02-09Add C-kC. McEnroe
Also rename all the edit ops to something consistent.
2020-02-09Add C-dC. McEnroe
2020-02-09Add C-b and C-fC. McEnroe
2020-02-09Simplify edit buffer conversion and input renderingC. McEnroe
2020-02-09Switch to "other" window if closing active windowC. McEnroe
2020-02-08Simplify(?) reflow buffer loopC. McEnroe
2020-02-08Add /closeC. McEnroe
2020-02-08Check return values of newwin/newpadC. McEnroe
2020-02-07Only treat the first tab as the alignment pointC. McEnroe
2020-02-07Revert "Only treat the first tab as the alignment point"C. McEnroe
This reverts commit 5881a96638b63475bf48d506dbb659c481279790.
2020-02-07Use atexit instead of err_set_exitC. McEnroe
Unsurprisingly, err_set_exit doesn't exist in GNU's err.h, but since it's safe to call reset_shell_mode on any kind of exit, just use atexit.
2020-02-07Populate completion with commandsC. McEnroe
2020-02-07Use define_key for meta keysC. McEnroe
This will allow distinguishing meta from escape via ESCDELAY (which should probably be set to something quite a lot shorter than its default).
2020-02-07Only treat the first tab as the alignment pointC. McEnroe
2020-02-07Show one cell to the right of the input cursorC. McEnroe
2020-02-07Add key bindings for IRC formattingC. McEnroe
2020-02-07Add some real line editing operationsC. McEnroe
2020-02-06Flush stdout after using putpC. McEnroe
2020-02-06Color notices LightGray in inputC. McEnroe
2020-02-06Show input in italics for actions and set Debug promptC. McEnroe
2020-02-06Render actions in italicC. McEnroe
Also render italic as normal if it's unsupported, as that is what would happen anyway if curses has A_ITALIC but the terminal has no sitm. That format string is kinda bad.
2020-02-06Beep on hotC. McEnroe
2020-02-06Disable SUSPC. McEnroe
Frees up C-z and suspending an IRC client is silly anyway.
2020-02-05Change prompt depending on commandC. McEnroe
2020-02-05Scroll the input windowC. McEnroe
I was wondering if I should instead make input wrap, but then wordWrap would need to both support showing formatting and persisting styles across to strings, and it would need to move the window pad up and down a bunch, etc.
2020-02-05Only reflow text when COLS changesC. McEnroe
2020-02-05Modulo colors before comparing pairsC. McEnroe
Otherwise a new pair is allocated every time a high color is requested.
2020-02-05Reflow text on window resizeC. McEnroe
2020-02-05Add extremely basic editing and message sendingC. McEnroe
2020-02-04Model keyCtrl like keyMetaC. McEnroe
2020-02-04Call inputUpdate when switching windowsC. McEnroe
Because changing windows (to <network> or <debug>) will affect the prompt.
2020-02-04Split showing style codes and word wrappingC. McEnroe
2020-02-04Align word wrapping with tab characterC. McEnroe
Also fixes handling whitespace directly after control codes.
2020-02-04Switch windows with M-0 through M-9C. McEnroe
2020-02-04Factor out unmarkC. McEnroe
2020-02-04Add beginnings of input handlingC. McEnroe
2020-02-03Use time_t rather than struct tmC. McEnroe
2020-02-02Add sequences for toggling focus/paste modesC. McEnroe
2020-02-02Track unread and window heatC. McEnroe
2020-02-02Rearrange some UI codeC. McEnroe
2020-02-02Remove term.c in favor of more curses APIsC. McEnroe