version 1.45, 2018/10/18 08:38:01 |
version 1.46, 2019/03/13 21:39:21 |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
#include <stdlib.h> |
#include <stdlib.h> |
|
#include <string.h> |
|
|
#include "tmux.h" |
#include "tmux.h" |
|
|
|
|
if (args_has(self->args, 'P') || args_has(self->args, 'g')) { |
if (args_has(self->args, 'P') || args_has(self->args, 'g')) { |
if (args_has(args, 'P')) { |
if (args_has(args, 'P')) { |
style = args_get(args, 'P'); |
style = args_get(args, 'P'); |
|
memcpy(&wp->colgc, &grid_default_cell, |
|
sizeof wp->colgc); |
if (style_parse(&grid_default_cell, &wp->colgc, |
if (style_parse(&grid_default_cell, &wp->colgc, |
style) == -1) { |
style) == -1) { |
cmdq_error(item, "bad style: %s", style); |
cmdq_error(item, "bad style: %s", style); |