mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-05 12:29:16 +00:00
Moved backspace() & append()
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#include "chfcts.hpp"
|
||||
|
||||
#include <display.hpp>
|
||||
#include <convert.h>
|
||||
#include <printf.h>
|
||||
#include <debug.h>
|
||||
#include <smp.hpp>
|
||||
@ -74,19 +75,6 @@ static inline int GetLetterFromScanCode(uint8_t ScanCode)
|
||||
return KEY_INVALID;
|
||||
}
|
||||
|
||||
static inline void backspace(char s[])
|
||||
{
|
||||
int len = strlen(s);
|
||||
s[len - 1] = '\0';
|
||||
}
|
||||
|
||||
static inline void append(char s[], char n)
|
||||
{
|
||||
int len = strlen(s);
|
||||
s[len] = n;
|
||||
s[len + 1] = '\0';
|
||||
}
|
||||
|
||||
namespace CrashHandler
|
||||
{
|
||||
CrashKeyboardDriver::CrashKeyboardDriver() : Interrupts::Handler(CPU::x64::IRQ1)
|
||||
|
Reference in New Issue
Block a user