Wii-U-Firmware-Emulator/src/history.h
linkmauve 70974277af
debugger: Use libreadline for the prompt (#11)
* debugger: Use libreadline for the prompt

This fixes the issue where ^D would put the debugger into an infinite
loop, and adds support for persistent history, with familiar
keybindings.

I originally tried to make this new dependency optional, but your
usage of make doesn’t really tend itself to this, feel free to tell me
if you prefer another option.

Co-authored-by: Yannik Marchand <ymarchand@me.com>
2021-12-01 08:14:07 +01:00

10 lines
96 B
C++

#pragma once
#include <string>
namespace History {
void init();
void append(char *line);
}