summaryrefslogtreecommitdiffstats
path: root/src/cmds_command.c
diff options
context:
space:
mode:
authorPim Snel <pim@lingewoud.nl>2020-02-06 02:04:32 +0100
committerPim Snel <pim@lingewoud.nl>2020-02-06 02:04:32 +0100
commit43ecc0b657baec9a1e8a03998b48f05b241833af (patch)
tree026f3c74c2e6f46b35b1482ff569c08692d03719 /src/cmds_command.c
parentf972b7efa447e2947ffd2cb6ca1fd5cd8fa6bf67 (diff)
fix segfault, do not load_header when option nocurses
Diffstat (limited to 'src/cmds_command.c')
-rw-r--r--src/cmds_command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmds_command.c b/src/cmds_command.c
index 366b7c3..7059d65 100644
--- a/src/cmds_command.c
+++ b/src/cmds_command.c
@@ -455,7 +455,10 @@ void do_commandmode(struct block * sb) {
delete_structures();
create_structures();
readfile(name, 0);
- ui_show_header();
+
+ if (! atoi(get_conf_value("nocurses"))) {
+ ui_show_header();
+ }
}
}
} else if ( ! wcsncmp(inputline, L"hiderow ", 8) ||