* Remove optional application border and title completely.
MODIFY
config/config.go
config/config.go
@@ -40,7 +40,6 @@ var (
UseRandomUserColors: false,
ShowUserContainer: true,
ShowChatHeader: true,
- ShowFrame: false,
UseFixedLayout: false,
FixedSizeLeft: 12,
FixedSizeRight: 12,
@@ -72,8 +71,6 @@ type Config struct {
//move over to the message input widget after channel selection
FocusMessageInputAfterChannelSelection bool
- //ShowFrame decides wether the application will have a border and a title.
- ShowFrame bool
//ShowChatHeader decides wether the box above the chat will be shown
//or not.
ShowChatHeader bool

MODIFY
ui/window.go
ui/window.go
@@ -620,14 +620,6 @@ func NewWindow(doRestart chan bool, app *tview.Application, session *discordgo.S
window.chatArea.AddItem(window.commandView.commandOutput, 0, 1, false)
window.chatArea.AddItem(window.commandView.commandInput.internalTextView, 3, 0, false)
- if conf.ShowFrame {
- window.rootContainer.SetTitle("Cordless")
- window.rootContainer.SetBorder(true)
- } else {
- window.rootContainer.SetTitle("")
- window.rootContainer.SetBorder(false)
- }
-
window.SwitchToGuildsPage()
app.SetFocus(guildList)

* Remove optional application border and title completely.