-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
The below crash is easy to reproduce
$ micro
CTRL-s
f
and I get this everytime I try to save a file.
It only happens when I use kitty+nushell. kitty+bash works.
Micro encountered an error: *runtime.TypeAssertionError interface conversion: interface {} is map[string]interface {}, not string
runtime/iface.go:275 (0x563292346bc5)
github.com/zyedidia/micro/v2/internal/buffer/buffer.go:821 (0x5632927b8dae)
github.com/zyedidia/micro/v2/internal/buffer/settings.go:32 (0x5632927c913e)
github.com/zyedidia/micro/v2/internal/buffer/save.go:345 (0x5632927c5ae8)
github.com/zyedidia/micro/v2/internal/buffer/save.go:230 (0x5632927fbb25)
github.com/zyedidia/micro/v2/internal/action/actions.go:1038 (0x5632927fbaeb)
github.com/zyedidia/micro/v2/internal/action/actions.go:1002 (0x5632927fb810)
github.com/zyedidia/micro/v2/internal/info/infobuffer.go:163 (0x5632927d0323)
github.com/zyedidia/micro/v2/internal/action/infopane.go:223 (0x56329281765f)
github.com/zyedidia/micro/v2/internal/action/infopane.go:54 (0x5632928167b1)
github.com/zyedidia/micro/v2/internal/action/infopane.go:132 (0x56329281706f)
github.com/zyedidia/micro/v2/internal/action/infopane.go:91 (0x563292816c8c)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:540 (0x56329284aa73)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:481 (0x56329284a5d0)
internal/runtime/atomic/types.go:194 (0x563292375a1d)
runtime/asm_amd64.s:1693 (0x5632923b2ca1)
~> pacman -Qi micro
Name : micro
Version : 2.0.15-2
Description : Modern and intuitive terminal-based text editor
Architecture : x86_64
URL : https://micro-editor.github.io/
Licenses : MIT
Groups : None
Provides : None
Depends On : glibc hicolor-icon-theme
Optional Deps : wl-clipboard: for copying/pasting text using Wayland [installed]
xclip: for copying/pasting text using X
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 12.86 MiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Build Date : Wed 28 Jan 2026 07:15:31 CET
Install Date : Sun 15 Feb 2026 12:37:47 CET
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
~> pacman -Qi nushell
Name : nushell
Version : 0.110.0-2
Description : A new type of shell
Architecture : x86_64
URL : https://www.nushell.sh
Licenses : MIT
Groups : None
Provides : None
Depends On : curl glibc libgcc libcrypto.so=3-64 libssl.so=3-64 zlib
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 158.43 MiB
Packager : George Rawlinson <grawlinson@archlinux.org>
Build Date : Mon 16 Feb 2026 08:27:26 CET
Install Date : Mon 16 Feb 2026 22:04:32 CET
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
~>
~> cat ~/.config/micro/settings.json
{
"autoclose": false,
"colorcolumn": 72,
"filetype": {
".muttrc": "neomuttrc",
".neomuttrc": "neomuttrc"
},
"rmtrailingws": true,
"softwrap": true,
"wordwrap": true,
"wrapwidth": 80
}
~>
Environment
- Version:
- OS:
- Terminal:
Reactions are currently unavailable