Skip to content

Commit

Permalink
Many small improvements
Browse files Browse the repository at this point in the history
Preparing new release.
Code clean up and uptimisations.
Changed to strings instead of keywords as keys in keymappings.
(This breaks backwards campatibility)
With new keymappings :selfinsert can now be used to define
any function to apply to unmapped keys, allowing many utf-8 chars
in the terminal.
  • Loading branch information
mogenslund committed Apr 7, 2018
1 parent 36f2e14 commit 6df9643
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject mogenslund/liquid "0.9.1-SNAPSHOT" ;"0.4.6-SNAPSHOT"
(defproject mogenslund/liquid "0.9.1" ;"0.4.6-SNAPSHOT"
:description "This project is an attempt to create a text editor for editing
Clojure files and Markdown files. It operates primarily in a
terminal, but with dynamics and extensibilities inspired by
Expand Down
3 changes: 2 additions & 1 deletion src/dk/salza/liq/adapters/jframeadapter.clj
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@
(and ctrl (= raw 32)) "C- "
ctrl (str ctrl alt (char (+ raw 96)))
alt (str ctrl alt (char raw))
(= raw 127) "backspace"
(= raw 127) "delete"
(>= raw 32) (str (char raw))
(= raw 8) "backspace"
(= raw 9) "\t"
(= raw 10) "\n"
true (str (char raw)))]
Expand Down

0 comments on commit 6df9643

Please sign in to comment.