ke version 2.0
Some checks failed
Release / Bump Homebrew formula (push) Has been cancelled

- with multiple buffers
- some handy tab completion
- lots of cleanups
This commit is contained in:
2025-11-28 02:52:24 -08:00
parent a0d760c7d2
commit 734eb6e67d
4 changed files with 11 additions and 6 deletions

View File

@@ -418,6 +418,7 @@ buffer_close_current(void)
int target = 0;
int nb = 0;
/* sanity check */
if (editor.curbuf < 0 || editor.curbuf >= editor.bufcount) {
editor_set_status("No buffer to close.");
return;