Commit Graph

65 Commits (2797ac8abfdfa3d89120b6781157eb8164406287)

Author SHA1 Message Date
Curtis McEnroe ea4c70dae5
Rename line editing functions 2018-08-06 11:22:45 -04:00
Curtis McEnroe 5bb96a79e7
Initialize all possible color pairs
This is actually possible with use_default_colors!
2018-08-05 18:34:35 -04:00
Curtis McEnroe dbed1929dc
Refactor color initialization 2018-08-05 15:00:38 -04:00
Curtis McEnroe c1283ed18a
Add ^L redraw 2018-08-05 13:42:37 -04:00
Curtis McEnroe 7beb4c9912
Use 16 colors if available
Fall back to using bold if there are only 8 colors. This also allowed
bright background colors in 16-color terminals.

I must port this system to torus. I'll be able to remove the awful
termcap patch hack.
2018-08-05 13:28:49 -04:00
Curtis McEnroe 7e02eddcf4
Limit parsed colors to number of mIRC colors
Oh boy that's embarrassing.
2018-08-05 11:00:01 -04:00
Curtis McEnroe 6df61b5dda
Show source link on exit 2018-08-04 21:23:28 -04:00
Curtis McEnroe 8fdf2c402d
Implement line editing, scrolling
Don't really have a way to implement the M-* keys, and currently missing
C-w.
2018-08-04 20:54:50 -04:00
Curtis McEnroe 7b5bc5aa41
Rename ui chat to log 2018-08-04 17:59:43 -04:00
Curtis McEnroe b163492552
Fix chat draw boundaries 2018-08-04 17:08:15 -04:00
Curtis McEnroe aca376bc89
Factor out mIRC color parsing 2018-08-04 16:36:25 -04:00
Curtis McEnroe ea23dcec3b
Scroll the input pad 2018-08-04 16:17:20 -04:00
Curtis McEnroe 39507f0f8f
Handle terminal resizing 2018-08-04 15:04:48 -04:00
Curtis McEnroe 95b46b8559
Define A_ITALIC if not defined
System ncurses on macOS doesn't define it. At least not in El Capitan.
2018-08-04 13:58:44 -04:00
Curtis McEnroe ccdeb0c556
Split source into several files
Can't believe I have to do this.
2018-08-04 13:35:29 -04:00