1
0
Fork 0

- added loading module for abbreviation by default in config file.

- prevented crash when teminal height was to small to fits suggetion window.
This commit is contained in:
cage 2021-08-12 22:40:49 +02:00
parent f130d61c5c
commit d04f4e001b
2 changed files with 15 additions and 7 deletions

View File

@ -41,6 +41,10 @@
(load-module "share-gemini-link.lisp")
;; abbrevation on command line
(load-module "expand-abbrev-command-window.lisp")
;; keybindings syntax:
;; a command is executed after a sequence of one or more keys. a key

View File

@ -516,12 +516,15 @@ lines fitted in the box (nil in this case).
box-height)
(+ width-so-far
column-width))))))))
(fit 0 box-height)
(values (reverse columns)
(and rest-lines-index
(<= rest-lines-index
lines-length)
rest-lines-index)))))
(if (> box-height 0)
(progn
(fit 0 box-height)
(values (reverse columns)
(and rest-lines-index
(<= rest-lines-index
lines-length)
rest-lines-index)))
nil))))
(defun box-fit-multiple-column (lines box-width box-height
&key
@ -577,7 +580,8 @@ printed in the box column by column; in the example above the results are:
box-width
box-height))
(list columns)))))
(fit)))
(when lines
(fit))))
(defun annotated-text-symbol (a)
(car a))