diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2024-05-12 12:35:48 -0600 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2024-05-21 20:21:46 -0600 |
| commit | 486e8631ce9269d34c00c07038e04013640f8825 (patch) | |
| tree | 2123a90bdc2f564df72d509161b098c95d6aac13 /main.c | |
| parent | 54b3babf49ac75fce78815ae1d7a19f3def69660 (diff) | |
| download | vis-486e8631ce9269d34c00c07038e04013640f8825.tar.gz vis-486e8631ce9269d34c00c07038e04013640f8825.tar.xz | |
replace UiTerm with Ui & delete function pointers
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ #include <sys/stat.h> #include <sys/types.h> -#include "ui-terminal.h" +#include "ui.h" #include "vis.h" #include "vis-lua.h" #include "text-util.h" @@ -1229,7 +1229,7 @@ static const char *macro_replay(Vis *vis, const char *keys, const Arg *arg) { } static const char *suspend(Vis *vis, const char *keys, const Arg *arg) { - vis_suspend(vis); + ui_terminal_suspend(vis->ui); return keys; } @@ -2214,7 +2214,7 @@ static void signal_handler(int signum, siginfo_t *siginfo, void *context) { } int main(int argc, char *argv[]) { - vis = vis_new(ui_term_new()); + vis = vis_new(ui_terminal_new()); if (!vis) return EXIT_FAILURE; |
