+36
-36
@@ -1,43 +1,43 @@
|
||||
**#%#*****###%**
|
||||
*##+--------------------=##*
|
||||
#*=----------------------------=*#*
|
||||
#*------------------------------------*#
|
||||
%+----------------------------------------=#*
|
||||
#+---------------------------------------------##
|
||||
*#-------------------------------------------------=##
|
||||
*##+--------------------=##*
|
||||
#*=----------------------------=*#*
|
||||
#*------------------------------------*#
|
||||
%+----------------------------------------=#*
|
||||
#+---------------------------------------------##
|
||||
*#-------------------------------------------------=##
|
||||
*#----------------------------------------------------:-##
|
||||
#----------------------------------------------------------##
|
||||
#=--------------------------------------------------------------##
|
||||
+--------------------------+@#-%*-----------------------------------#*
|
||||
+--------------------------%@@@@#-------------------------------------** BELUGA - VERSION 2.3
|
||||
#----------------------------------------------------------##
|
||||
#=--------------------------------------------------------------##
|
||||
+--------------------------+@#-%*-----------------------------------#*
|
||||
+--------------------------%@@@@#-------------------------------------** BELUGA - VERSION 2.4
|
||||
*-=-------------------------#@@*---------------------------------------=%
|
||||
%*#==--------------------------------------------------------------------+# ----- KEY-BINDS -----
|
||||
*%%=-=--------------------------------------------------------------------=# CTRL-x CTRL-c leave
|
||||
%=--------------------------------------------------------------------------#* CTRL-x CTRL-s save
|
||||
%-----------------------------------------------------------------------------** CTRL-x f open-file
|
||||
*+--=---===----=---------------=*-----------------------------------------------**
|
||||
#--=## *#%#*+==----==+**+----------------------= ***=---------------------%
|
||||
*%**=-----------==== ==---------------------------------=+#+-----------------=#
|
||||
*%=----------------------------------------------------------=#*---------------#
|
||||
##=----------------------------------=------------------------+%=------------+#
|
||||
#%+---------------------------------=*------------------------+%------------#
|
||||
*#%*=-------------=-----------------#-------------------------#+----------#
|
||||
**#%#*******+=======-------------#=------------------------#----------#
|
||||
#===#*=======------------------#*----=-----------=--=##*-----------#
|
||||
-====##=------------------------*%+------------=*#+=====----------#
|
||||
--=====+#*=----------------------=-=+*#####***+=======-----------=*
|
||||
%------=====*%*=-------------------------========-----------------+*
|
||||
*-=--------====%%###+=--------------------------=-----------------#
|
||||
#-----------=% +*##%%%%%%@@%%%%####*==---------------------**
|
||||
%=-------#* #%*=-----------------+#
|
||||
*%+--=## ##=-----------------=#*
|
||||
** #+----=-------------------#*
|
||||
%+----------------------------#*
|
||||
*%-------------==----------------+#
|
||||
##--------------==------------------#
|
||||
*#--------------===%-----------------=%
|
||||
##---------------=-##*-----------------+#
|
||||
*#---------------==#+=#%-----------------%
|
||||
*%---------------+# %*---------------#*
|
||||
*#------------=+#* #%*=-----------#*
|
||||
#****##****** *#%%##+=----%
|
||||
*+--=---===----=---------------=*-----------------------------------------------**
|
||||
#--=## *#%#*+==----==+**+----------------------= ***=---------------------%
|
||||
*%**=-----------==== ==---------------------------------=+#+-----------------=#
|
||||
*%=----------------------------------------------------------=#*---------------#
|
||||
##=----------------------------------=------------------------+%=------------+#
|
||||
#%+---------------------------------=*------------------------+%------------#
|
||||
*#%*=-------------=-----------------#-------------------------#+----------#
|
||||
**#%#*******+=======-------------#=------------------------#----------#
|
||||
#===#*=======------------------#*----=-----------=--=##*-----------#
|
||||
-====##=------------------------*%+------------=*#+=====----------#
|
||||
--=====+#*=----------------------=-=+*#####***+=======-----------=*
|
||||
%------=====*%*=-------------------------========-----------------+*
|
||||
*-=--------====%%###+=--------------------------=-----------------#
|
||||
#-----------=% +*##%%%%%%@@%%%%####*==---------------------**
|
||||
%=-------#* #%*=-----------------+#
|
||||
*%+--=## ##=-----------------=#*
|
||||
** #+----=-------------------#*
|
||||
%+----------------------------#*
|
||||
*%-------------==----------------+#
|
||||
##--------------==------------------#
|
||||
*#--------------===%-----------------=%
|
||||
##---------------=-##*-----------------+#
|
||||
*#---------------==#+=#%-----------------%
|
||||
*%---------------+# %*---------------#*
|
||||
*#------------=+#* #%*=-----------#*
|
||||
#****##****** *#%%##+=----%
|
||||
|
||||
+1
-1
@@ -27,6 +27,6 @@ enum editorKey_e {
|
||||
|
||||
#define ABUF_INIT {NULL, 0}
|
||||
|
||||
#define BELUGA_VERSION "1.1"
|
||||
#define BELUGA_VERSION "2.4"
|
||||
|
||||
#endif // DEFINE_H_
|
||||
|
||||
+2
-1
@@ -11,6 +11,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "include/input.h"
|
||||
|
||||
@@ -79,7 +80,7 @@ int bufferCreate(const char* filename, enum bufferStatus_e state)
|
||||
new_buf->buffer_id = E.number_of_buffer;
|
||||
new_buf->filename = strdup(filename);
|
||||
new_buf->type = FILE_BUFF;
|
||||
new_buf->state = READ_AND_WRITE;
|
||||
new_buf->state = state;
|
||||
new_buf->x = 0;
|
||||
new_buf->y = 0;
|
||||
new_buf->dirty = 0; // New file starts clean
|
||||
|
||||
Reference in New Issue
Block a user