Skip to content

Feature request: option to disable printing the "caption" at the top (Nethogs version x.x.x) #278

@aglidden

Description

@aglidden

Would it be possible to add a flag to disable printing "NetHogs version x.x.x" at the top of the window? I like to run nethogs in an itty-bitty tmux pane and it would be 2 lines more space efficient if we could disable that.

I believe the relevant code is

nethogs/src/cui.cpp

Lines 287 to 288 in 0fe341e

caption = new std::string("NetHogs");
caption->append(getVersion());
and

nethogs/src/cui.cpp

Lines 372 to 376 in 0fe341e

mvprintw(0, 0, "%s", caption->c_str());
attron(A_REVERSE);
mvprintw(2, 0,
" PID USER %-*.*s %-*.*s SENT RECEIVED ",
proglen, proglen, "PROGRAM", devlen, devlen, "DEV");

Thank you for the awesome program, it's great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions