diff options
author | Pim Snel <pim@lingewoud.nl> | 2020-02-06 02:04:32 +0100 |
---|---|---|
committer | Pim Snel <pim@lingewoud.nl> | 2020-02-06 02:04:32 +0100 |
commit | 43ecc0b657baec9a1e8a03998b48f05b241833af (patch) | |
tree | 026f3c74c2e6f46b35b1482ff569c08692d03719 /src/cmds_command.c | |
parent | f972b7efa447e2947ffd2cb6ca1fd5cd8fa6bf67 (diff) |
fix segfault, do not load_header when option nocurses
Diffstat (limited to 'src/cmds_command.c')
-rw-r--r-- | src/cmds_command.c | 5 |
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) || |