summary refs log tree commit diff
path: root/ui.c
AgeCommit message (Collapse)Author
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
2020-02-02Use tsl/fsl capabilities for title if availableC. McEnroe
Also manually fill them if TERM=xterm* because they really should be there.
2020-02-02Set title in statusUpdateC. McEnroe
2020-02-02Add option to show style codesC. McEnroe
This will be used for the input window.
2020-02-02Remove style string macrosC. McEnroe
2020-02-02Add idColorsC. McEnroe
2020-02-02Implement window switching and status lineC. McEnroe
2020-02-02Call reset_shell_mode on errC. McEnroe
This restores the terminal but doesn't clear the screen, so the error stays visible.
2020-02-02Wrap before the very edge of the screenC. McEnroe
2020-02-02Implement wordWidthC. McEnroe
2020-02-01Implement word wrapC. McEnroe
This actually wasn't that bad?
2020-02-01Parse IRC styling in UIC. McEnroe
Wow the colorPair thing actually works. Have I finally cracked curses colors?
2020-02-01Implement the beginnings of UIC. McEnroe
It takes so much code to do anything in curses...