| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
makes a bit more sense than the previous arrangement
|
|
|
|
|
|
| |
These functions now take a numeric argument to determine how many
cells/lines to move. Also, update the default config so e.g. 9j
now works.
|
|
|
|
|
|
|
|
|
|
|
| |
* Add an extern() call. Maybe it should be defined on client. It
certainly should accept a dictionary instead of the enum type we use
now. Perhaps it should return the error code?
I'll leave it undocumented until I figure this out.
* Refactor enableRawMode, unblockStdin, etc. so that they operate on
the term object instead of global state.
* Move editor to a separate folder, and factor out runprocess into
a different module.
|
|
|
|
|
|
|
|
| |
* it is now possible to jump to the nth line by typing {n}G
* gotoLine is now 1-based, so to go to the first line you would use
pager.gotoLine(1)
* it is now allowed to return a function from a keybinding (which will be
subsequently executed as a regular keybinding)
|
|
|
|
|
| |
Just as in vi, 0 puts the cursor at the beginning of the current line,
and ^ puts the cursor at the position of the first non-blank character.
|
| |
|
|
|
|
| |
It was unused; we just set the width and height instead.
|
|
|
|
|
|
|
|
| |
* add mailcap: works with copiousoutput, needsterminal, etc.
* add mime.types (only works with mailcap)
* refactor pipeBuffer
* remove "dispatcher"
* fix bug in directory display where baseurl would not be used
|
| |
|
|
|
|
|
| |
* Fix race condition in updateReadLineISearch
* Disable reshape during isearch
|
|
|
|
|
|
|
| |
Replaces the weird CSS implementation we have had until now with a
searchable popup menu similar to that of w3m. (The previous
implementation broke on websites that do not expect <select> to
expand on click, had no separate search, and was ugly.)
|
|
|
|
|
| |
This should help with moving to ORC in the future. (Also, finalizers
do not work very well in the first place.)
|
|
|
|
|
|
|
|
| |
Now it's not as horribly broken as before (but it's still far from
perfect). We can at least log in to sr.ht (hooray).
The form multipart part is straightforward, just pass what we used to pass
long ago before I broke multipart.
|
|
|
|
|
| |
Now we use Result for passing exceptions to JS. As a result, we can
finally get rid of the .jserr pragma.
|
| |
|
|
|
|
| |
So that the default config actually works again. Also some doc updates.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
In some terminals, placing the cursor on the second cell of a double-width
character deletes half of said character, so let's not do that.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
cursorBytes uses twidth now.
cursorNextMatch matches the byte *after* the cursor (somewhat more
consistently than before).
match() no longer counts capture groups. LRE_FLAG_GLOBAL now goes
through the entire string.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also, a little bonus: w3m keybindings
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This gets rid of the inefficient timeout thing. Still, the ideal solution
would be to move the timeout into the container; TODO.
|
| |
|
|
|
|
| |
Also probably other fixes.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* fix infinite loop after closing buffer
* fix setx not triggering hover updates
* fix D not going back to PREV but to parent
* add M-d, M-,, M-., M-/ for old D behavior, cycle through siblings,
back to parent
|
| |
|
| |
|
|
|
|
| |
(So that line information is updated automatically)
|
| |
|
|
|
|
| |
It's more useful this way.
|
|
|
|
|
| |
For now it's unnecessary; may be re-added later to support some dynamic
document features.
|