meta: rename to fx
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "printf.h"
|
||||
|
||||
#include <blue/term/tty.h>
|
||||
#include <fx/term/tty.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -116,8 +116,8 @@
|
||||
#endif
|
||||
|
||||
struct out_tty_args {
|
||||
struct b_tty *tty;
|
||||
enum b_tty_print_flags flags;
|
||||
struct fx_tty *tty;
|
||||
enum fx_tty_print_flags flags;
|
||||
bool format_ch;
|
||||
};
|
||||
|
||||
@@ -959,17 +959,17 @@ static void out_tty(char c, struct out_tty_args *args)
|
||||
return;
|
||||
}
|
||||
|
||||
enum b_tty_print_flags flags = args->flags;
|
||||
enum fx_tty_print_flags flags = args->flags;
|
||||
|
||||
if (!args->format_ch && (flags & B_TTY_DISABLE_INTERPOLATED_FORMATTING)) {
|
||||
flags |= B_TTY_DISABLE_FORMATTING;
|
||||
if (!args->format_ch && (flags & FX_TTY_DISABLE_INTERPOLATED_FORMATTING)) {
|
||||
flags |= FX_TTY_DISABLE_FORMATTING;
|
||||
}
|
||||
|
||||
b_tty_putc(args->tty, flags, c);
|
||||
fx_tty_putc(args->tty, flags, c);
|
||||
}
|
||||
|
||||
int b_tty_vprintf(
|
||||
struct b_tty *tty, enum b_tty_print_flags flags, const char *format,
|
||||
int fx_tty_vprintf(
|
||||
struct fx_tty *tty, enum fx_tty_print_flags flags, const char *format,
|
||||
va_list args)
|
||||
{
|
||||
struct out_tty_args tty_args = {
|
||||
|
||||
Reference in New Issue
Block a user