sled

Једноставни уређивач текста
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување f08f0aaa5337d209e519d17ffbe3795c4be5e8a9
родитељ 5aa788004fa5a65179344c9e340e569378b5b170
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sun, 13 Mar 2022 22:40:25 +0100

patch/dark-theme.patch: Update for 0.9.5

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
Mpatch/dark-theme.patch | 19++++++++++---------
измењених датотека: 1, додавања: 10(+), брисања: 9(-)

diff --git a/patch/dark-theme.patch b/patch/dark-theme.patch @@ -1,7 +1,7 @@ -From d843487e090e7532843718d7c770b81126710054 Mon Sep 17 00:00:00 2001 +From 0ed65814a8a5582b25e34ec9c0675a39309a951c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D1=82=D1=80=D0=B0=D1=85=D0=B8=D1=9A=D0=B0=20=D0=A0?= =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D1=9B?= <contact@strahinja.org> -Date: Sat, 5 Mar 2022 20:12:07 +0100 +Date: Sun, 13 Mar 2022 22:35:30 +0100 Subject: [PATCH] Set dark theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -15,7 +15,7 @@ Signed-off-by: Страхиња Радић <contact@strahinja.org> 3 files changed, 62 insertions(+), 60 deletions(-) diff --git a/config.def.h b/config.def.h -index 72f8a15..c560626 100644 +index f2cef36..d3be52e 100644 --- a/config.def.h +++ b/config.def.h @@ -7,36 +7,36 @@ @@ -86,7 +86,7 @@ index 72f8a15..c560626 100644 #ifdef SLED_C_GLOBALS int cancel_close(struct DrawState* state); diff --git a/config.h b/config.h -index 72f8a15..c560626 100644 +index f2cef36..d3be52e 100644 --- a/config.h +++ b/config.h @@ -7,36 +7,36 @@ @@ -157,23 +157,24 @@ index 72f8a15..c560626 100644 #ifdef SLED_C_GLOBALS int cancel_close(struct DrawState* state); diff --git a/sled.c b/sled.c -index 38402e3..e09bcd2 100644 +index 8a63657..4e9a2c9 100644 --- a/sled.c +++ b/sled.c -@@ -1906,11 +1906,13 @@ file_error: +@@ -1963,12 +1963,14 @@ file_error: init_termbox: tb_init(); + tb_set_output_mode(TB_OUTPUT_256); - *error = 0; - state.maxx = 0; + *error = 0; + state.maxx = 0; + state.recalculate_size = 1; while (state.running) { + tb_set_clear_attrs(TEXT_FG, TEXT_BG); tb_clear(); - if (recalculate_size) + if (state.recalculate_size) -- 2.35.1