1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 23:30:25 +00:00

configurable -btwidth via commandline

This commit is contained in:
Zeno Rogue 2018-09-30 16:22:57 +02:00
parent 3081773f86
commit fc06397ccc

View File

@ -203,5 +203,16 @@ namespace binary {
}
return gm * where;
}
auto bt_config = addHook(hooks_args, 0, [] () {
using namespace arg;
if(argis("-btwidth")) {
shift(); vid.binary_width = argf();
need_reset_geometry = true;
return 0;
}
return 1;
});
}
}