summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/sc-im.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/patches/sc-im.patch b/patches/sc-im.patch
new file mode 100644
index 0000000..e89e7b4
--- /dev/null
+++ b/patches/sc-im.patch
@@ -0,0 +1,34 @@
+diff --git a/src/Makefile b/src/Makefile
+index fb08e9a..cb6ea65 100755
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -38,7 +38,7 @@ CFLAGS += -DINS_HISTORY_FILE=\".$(name)info\"
+ # Comment out to disable undo/redo support
+ CFLAGS += -DUNDO
+ # Maximum number of rows in spreadsheet. Up to 1048576
+-CFLAGS += -DMAXROWS=65536
++CFLAGS += -DMAXROWS=1048576
+ # Used for date formatting with C-d shortcut using you local d_fmt
+ CFLAGS += -DUSELOCALE
+
+@@ -47,16 +47,16 @@ CFLAGS += -DUSELOCALE
+ # Choose one of the following commands for copying to different clipboards:
+ # You can later change it at runtime.
+ #to copy to tmux clipboard:
+-CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"
++#CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"
+ #to copy to X clipboard:
+-#CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"
++CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"
+ #to copy to OSX clipboard:
+ #CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""pbcopy <"\"
+ #
+ # Choose one of the proposed commands for pasting from different clipboards:
+ # You can later change it at runtime.
+-CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"
+-#CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"
++#CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"
++CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"
+ #CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""pbpaste"\"
+
+ # Uncomment for basic XLS import. Requires libxlsreader