New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command history #57

Merged
merged 1 commit into from Nov 8, 2016

Conversation

Projects
None yet
2 participants
@MaxLeiter
Contributor

MaxLeiter commented Nov 8, 2016

No description provided.

@@ -17,4 +18,6 @@ bool ui_tick();
int tb_printf(int x, int y, struct tb_cell *basis, const char *fmt, ...);
void add_loading(struct geometry geo);
list_t *cmd_history;

This comment has been minimized.

@ddevault

This comment has been minimized.

@MaxLeiter

MaxLeiter Nov 8, 2016

Contributor

state or command?
edit: command 👍

@ddevault

This comment has been minimized.

Owner

ddevault commented Nov 8, 2016

You're leaking the commands here, you never free the previous text.

@ddevault ddevault merged commit b9715e1 into ddevault:master Nov 8, 2016

@MaxLeiter MaxLeiter deleted the MaxLeiter:MaxLeiter/history branch Nov 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment