Straight-up Bugs:
-* Window manager will close window without regard to modified status
* fix crash on saving read-only file
* fix crash on save to file that can't be created
* tab inserts dont coalesce like one would expect
static void onredraw(int height, int width);
static void oninput(int mods, Rune key);
static void onmouse(MouseAct act, MouseBtn btn, int x, int y);
-static void onshutdown(void);
static void onwheelup(WinRegion id, size_t count, size_t row, size_t col);
static void onwheeldn(WinRegion id, size_t count, size_t row, size_t col);
}
}
-static void onshutdown(void) {
- x11_deinit();
-}
-
static void onwheelup(WinRegion id, size_t count, size_t row, size_t col) {
view_scroll(win_view(id), -ScrollLines);
}
win_setscroll(scroll_off, scroll_vis);
}
+void onshutdown(void) {
+ quit();
+}
+
#ifndef TEST
int main(int argc, char** argv) {
/* setup the shell */