Sebastien Helleu
e3e20f2b60
core: add horizontal scrolling for buffers with free content (command /window scroll_horiz) (task #11112 )
2011-05-16 15:33:44 +02:00
Sebastien Helleu
02d10acd11
core: ensure that new split percent is between 1 and 99 for balance of windows
2011-05-08 09:48:29 +02:00
Sebastien Helleu
d961711797
core: fix balance of windows with vertical split
2011-05-07 18:13:32 +02:00
Sebastien Helleu
8c9ba6b563
core: fix balance of windows
2011-05-07 17:30:22 +02:00
Sebastien Helleu
baa6e59efb
core: fix compiler warning on function wattr_get (on pointers to attrs and pair)
2011-05-01 10:56:34 +02:00
Sebastien Helleu
70b0f12469
core: add buffer to hotlist if away is set on buffer (even if buffer is displayed) (task #10948 ), do not update hotlist during upgrade
2011-04-23 17:23:17 +02:00
Sebastien Helleu
909fe8a2b5
core: add option "balance" for command /window (key: alt+"w" + alt+"b")
2011-04-23 13:21:10 +02:00
Sebastien Helleu
634478dd54
core: add option "swap" for command /window (key: alt+"w" + alt+"s") (task #11001 )
2011-04-22 21:56:54 +02:00
Sebastien Helleu
7c6723f255
core: add automatic reset of color pairs, new option weechat.look.color_pairs_auto_reset
2011-04-17 11:02:45 +02:00
Sebastien Helleu
5ee0d7a456
core: add default keys meta-O{A,B,C,D} (same as meta-O{a,b,c,d})
2011-04-11 14:51:28 +02:00
Sebastien Helleu
25684ad8a6
core: fix crash when terminal has no color support
2011-04-11 14:45:05 +02:00
Sebastien Helleu
8bfc387579
core: flush stdout after changing terminal title (patch from Guido Berhoerster)
2011-03-26 17:40:20 +01:00
Sebastien Helleu
3d8553316f
Reset style (bold/underline/reverse) before setting color when displaying bar items
2011-03-02 20:03:44 +01:00
Sebastien Helleu
6f047c4a05
Remember scroll position for all buffers in windows (bug #25555 )
2011-03-01 16:31:56 +01:00
Sebastien Helleu
a79f721993
Reset color used to display spaces around time and buffer in chat area
2011-02-24 09:44:22 +01:00
Sebastien Helleu
2ad3a1c326
Auto recalculate values of win_width_pct and win_height_pct when windows are resized
2011-02-21 19:51:09 +01:00
Sebastien Helleu
412332653a
Allow relative size for command /window resize
2011-02-21 19:31:44 +01:00
Sebastien Helleu
8b273613df
Add some default keys for gnome-terminal (home/end, ctrl+up/down, alt+pgup/pgdn)
...
New default keys:
meta-OH => /input move_beginning_of_line
meta-OF => /input move_end_of_line
meta2-1;5A => /input history_global_previous
meta2-1;5B => /input history_global_next
meta2-5;3~ => /window scroll_up
meta2-6;3~ => /window scroll_down
2011-02-21 15:54:08 +01:00
Sebastien Helleu
65a609e33e
Add attributes for colors ("*": bold, "%": reverse, "_": underline)
2011-02-17 14:51:21 +01:00
Sebastien Helleu
d8248f3f68
Rename some color constants and functions for attributes
2011-02-09 16:26:58 +01:00
Sebastien Helleu
12879e9138
Factorize code used to apply color codes in strings (for chat and bars)
2011-02-09 16:14:53 +01:00
Sebastien Helleu
c515069f26
Fix color used to display color aliases on /color buffer
2011-02-07 15:27:04 +01:00
Sebastien Helleu
ba92074bf8
Fix missing suffix (after prefix) on lines when nothing is displayed before suffix (no time/buffer/prefix)
2011-02-07 14:34:23 +01:00
Sebastien Helleu
f1a3805ec8
Reset bold attribute when setting extended color for foreground
2011-02-07 11:56:53 +01:00
Sebastien Helleu
9da63c7170
Rename constants GUI_COLOR_PAIR_xxx to GUI_COLOR_EXTENDED_xxx
2011-02-06 18:18:13 +01:00
Sebastien Helleu
96de4e8746
Fix infinite loop when option weechat.look.read_marker_string it set to empty string
2011-02-05 21:55:58 +01:00
Sebastien Helleu
b1c8989835
Add option weechat.look.read_marker_string, use option hline_char for horizontal bar separators only
2011-02-05 15:29:51 +01:00
Sebastien Helleu
0a69df6c2c
Add color "gray", fix white background (use white instead of gray)
2011-02-05 13:12:41 +01:00
Sebastien Helleu
8ec4e680c6
Fix option color_real_white: replace white by default color only if bold is set for color
2011-02-05 12:29:42 +01:00
Sebastien Helleu
f2be50f4b1
Fix display of extended foreground color on non-default background in bars
2011-02-05 11:11:20 +01:00
Sebastien Helleu
63b8aa1f23
Fix size of arrays for colors (patch #7458 )
2011-02-04 21:17:00 +01:00
Sebastien Helleu
21881bbc7b
Replace message "WeeChat colors" by "WeeChat color pairs" on color buffer
2011-02-03 09:52:13 +01:00
Sebastien Helleu
8392d2fbcc
Fix terminal title when $TERM starts with "screen" (patch from sleo)
2011-02-01 08:24:08 +01:00
Sebastien Helleu
142fc29e25
Add some chars after cursor when scrolling input line: new option weechat.look.input_cursor_scroll (bug #21391 )
2011-01-31 21:42:04 +01:00
Sebastien Helleu
ccb08945a1
Dynamically allocate color pairs
...
This commit introduces major changes in 256 colors support:
- extended colors can be used without being added with command "/color add"
- background color is now allowed for nick colors (using slash separator)
2011-01-31 19:03:30 +01:00
Sebastien Helleu
cc6bb607e0
Test return value of calls to sscanf function
2011-01-21 19:30:08 +01:00
Sebastien Helleu
68ee325e65
Rename some variables and functions about weechat colors
2011-01-19 19:29:48 +01:00
Sebastien Helleu
512de497f5
Display more colors on each line for WeeChat basic and nick colors on /color buffer
2011-01-09 12:43:10 +01:00
Sebastien Helleu
ccc6d52e3a
Remove unneeded call to gui_color_buffer_display
2011-01-05 14:10:29 +01:00
Sebastien Helleu
fb60335176
Fix number of colors displayed in buffer opened by /color (can be different between WeeChat and terminal colors)
2011-01-04 14:37:14 +01:00
Sebastien Helleu
ce1aac77e0
Free color palette structures when exiting WeeChat
2011-01-02 16:34:47 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
0721bb1d4c
Add new command /color
2011-01-01 14:39:12 +01:00
Sebastien Helleu
894da1c9ed
Allow more flexible format for palette options
...
Order of alias, pair and rgb is free and semicolon is not required any more
before or after pair.
2010-12-21 09:24:31 +01:00
Sebastien Helleu
a9f25d125b
Do not allow empty string for color (regression with 256 colors feature)
2010-12-20 18:24:29 +01:00
Sebastien Helleu
8893a59063
Build list of color aliases at startup (fix crash when setting "++1" on option if no palette option is defined)
2010-12-20 18:22:22 +01:00
Sebastien Helleu
f7a3a2d995
Fix parsing of palette options
2010-12-20 16:27:09 +01:00
Sebastien Helleu
2ee9f7b0fc
Replace the 10 nick color options and number of nick colors by a single option "weechat.color.chat_nick_colors" (comma separated list of colors)
2010-12-20 15:08:30 +01:00
Sebastien Helleu
cd7a02bec5
Add 256 colors support
...
Changes:
- new section "palette" in weechat.conf
- new API functions: list_search_pos and list_casesearch_pos
2010-12-20 10:13:37 +01:00
Sebastien Helleu
e80d6b93a5
Add command line option "-c" (or "--colors") to display default colors in terminal
2010-12-17 12:27:51 +01:00